Dep Updates

This commit is contained in:
shabinder 2021-07-10 12:59:34 +05:30
parent baac818d5a
commit 43ca70daf7
9 changed files with 14 additions and 14 deletions

View File

@ -135,7 +135,7 @@ dependencies {
implementation(Extras.kermit) implementation(Extras.kermit)
//implementation("com.jakewharton.timber:timber:4.7.1") //implementation("com.jakewharton.timber:timber:4.7.1")
implementation("dev.icerock.moko:parcelize:0.7.0") implementation("dev.icerock.moko:parcelize:${Versions.mokoParcelize}")
implementation("com.github.shabinder:storage-chooser:2.0.4.45") implementation("com.github.shabinder:storage-chooser:2.0.4.45")
implementation("com.google.accompanist:accompanist-insets:0.12.0") implementation("com.google.accompanist:accompanist-insets:0.12.0")

View File

@ -324,7 +324,7 @@ class MainActivity : ComponentActivity() {
val clip = ClipData.newPlainText("SpotiFlyer Selection", text) val clip = ClipData.newPlainText("SpotiFlyer Selection", text)
clipboard.setPrimaryClip(clip) clipboard.setPrimaryClip(clip)
showPopUpMessage("StackTrace Copied to Clipboard.") showPopUpMessage("Text Copied to Clipboard.")
} }
override fun openPlatform(packageID: String, platformLink: String) { override fun openPlatform(packageID: String, platformLink: String) {

View File

@ -38,6 +38,8 @@ object Versions {
// Logger // Logger
const val kermit = "0.1.9" const val kermit = "0.1.9"
const val mokoParcelize = "0.7.1"
// Internet // Internet
const val ktor = "1.6.0" const val ktor = "1.6.0"
@ -156,7 +158,7 @@ object Internationalization {
} }
object Extras { object Extras {
const val youtubeDownloader = "io.github.shabinder:youtube-api-dl:1.2" const val youtubeDownloader = "io.github.shabinder:youtube-api-dl:1.3"
const val fuzzyWuzzy = "io.github.shabinder:fuzzywuzzy:1.1" const val fuzzyWuzzy = "io.github.shabinder:fuzzywuzzy:1.1"
const val mp3agic = "com.mpatric:mp3agic:0.9.0" const val mp3agic = "com.mpatric:mp3agic:0.9.0"
const val jaudioTagger = "com.github.Shabinder:JAudioTagger-Android:1.0" const val jaudioTagger = "com.github.Shabinder:JAudioTagger-Android:1.0"

View File

@ -42,7 +42,7 @@ kotlin {
implementation(compose.animation) implementation(compose.animation)
implementation(Extras.kermit) implementation(Extras.kermit)
implementation("dev.icerock.moko:parcelize:0.7.0") implementation("dev.icerock.moko:parcelize:${Versions.mokoParcelize}")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0-native-mt") { implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0-native-mt") {
@Suppress("DEPRECATION") @Suppress("DEPRECATION")
isForce = true isForce = true

View File

@ -65,7 +65,7 @@ kotlin {
implementation(Extras.kermit) implementation(Extras.kermit)
implementation(Serialization.json) implementation(Serialization.json)
implementation("co.touchlab:stately-common:1.1.7") implementation("co.touchlab:stately-common:1.1.7")
implementation("dev.icerock.moko:parcelize:0.7.0") implementation("dev.icerock.moko:parcelize:${Versions.mokoParcelize}")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0-native-mt") { implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0-native-mt") {
@Suppress("DEPRECATION") @Suppress("DEPRECATION")
isForce = true isForce = true

View File

@ -14,9 +14,10 @@
* * along with this program. If not, see <https://www.gnu.org/licenses/>. * * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
@file:Suppress("UNUSED_VARIABLE")
package com.shabinder.common.uikit.screens package com.shabinder.common.uikit.screens
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.foundation.clickable import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Box
@ -34,7 +35,6 @@ import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.itemsIndexed import androidx.compose.foundation.lazy.itemsIndexed
import androidx.compose.foundation.lazy.rememberLazyListState import androidx.compose.foundation.lazy.rememberLazyListState
import androidx.compose.material.CircularProgressIndicator import androidx.compose.material.CircularProgressIndicator
import androidx.compose.material.ExperimentalMaterialApi
import androidx.compose.material.ExtendedFloatingActionButton import androidx.compose.material.ExtendedFloatingActionButton
import androidx.compose.material.Icon import androidx.compose.material.Icon
import androidx.compose.material.MaterialTheme import androidx.compose.material.MaterialTheme
@ -74,7 +74,6 @@ import com.shabinder.common.uikit.dialogs.DonationDialogComponent
import com.shabinder.common.uikit.dialogs.ErrorInfoDialog import com.shabinder.common.uikit.dialogs.ErrorInfoDialog
import com.shabinder.common.uikit.rememberScrollbarAdapter import com.shabinder.common.uikit.rememberScrollbarAdapter
@OptIn(ExperimentalMaterialApi::class)
@Composable @Composable
fun SpotiFlyerListContent( fun SpotiFlyerListContent(
component: SpotiFlyerList, component: SpotiFlyerList,
@ -150,7 +149,6 @@ fun SpotiFlyerListContent(
} }
} }
@OptIn(ExperimentalAnimationApi::class)
@Composable @Composable
fun TrackCard( fun TrackCard(
track: TrackDetails, track: TrackDetails,

View File

@ -279,7 +279,7 @@ fun AboutColumn(
"${Strings.open()} Spotify", "${Strings.open()} Spotify",
tint = Color.Unspecified, tint = Color.Unspecified,
modifier = Modifier.clip(SpotiFlyerShapes.small).clickable( modifier = Modifier.clip(SpotiFlyerShapes.small).clickable(
onClick = { methods.value.openPlatform("com.spotify.music", "http://open.spotify.com") } onClick = { methods.value.openPlatform("com.spotify.music", "https://open.spotify.com") }
) )
) )
Spacer(modifier = modifier.padding(start = 16.dp)) Spacer(modifier = modifier.padding(start = 16.dp))
@ -336,7 +336,7 @@ fun AboutColumn(
Row( Row(
verticalAlignment = Alignment.CenterVertically, verticalAlignment = Alignment.CenterVertically,
modifier = Modifier.fillMaxWidth().clickable( modifier = Modifier.fillMaxWidth().clickable(
onClick = { methods.value.openPlatform("", "http://github.com/Shabinder/SpotiFlyer") } onClick = { methods.value.openPlatform("", "https://github.com/Shabinder/SpotiFlyer") }
) )
.padding(vertical = 6.dp) .padding(vertical = 6.dp)
) { ) {
@ -355,7 +355,7 @@ fun AboutColumn(
} }
Row( Row(
modifier = modifier.fillMaxWidth().padding(vertical = 6.dp) modifier = modifier.fillMaxWidth().padding(vertical = 6.dp)
.clickable(onClick = { methods.value.openPlatform("", "http://github.com/Shabinder/SpotiFlyer") }), .clickable(onClick = { methods.value.openPlatform("", "https://github.com/Shabinder/SpotiFlyer/blob/main/CONTRIBUTING.md") }),
verticalAlignment = Alignment.CenterVertically verticalAlignment = Alignment.CenterVertically
) { ) {
Icon(Icons.Rounded.Flag, Strings.help() + Strings.translate(), Modifier.size(32.dp)) Icon(Icons.Rounded.Flag, Strings.help() + Strings.translate(), Modifier.size(32.dp))

View File

@ -30,7 +30,7 @@ kotlin {
dependencies { dependencies {
implementation(project(":common:data-models")) implementation(project(":common:data-models"))
implementation(project(":common:database")) implementation(project(":common:database"))
implementation("org.jetbrains.kotlinx:atomicfu:0.16.1") implementation("org.jetbrains.kotlinx:atomicfu:0.16.2")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.2.1") implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.2.1")
api(MultiPlatformSettings.dep) api(MultiPlatformSettings.dep)
implementation(Extras.youtubeDownloader) implementation(Extras.youtubeDownloader)

View File

@ -42,7 +42,7 @@ dependencies {
implementation(project(":common:data-models")) implementation(project(":common:data-models"))
implementation(project(":common:dependency-injection")) implementation(project(":common:dependency-injection"))
implementation("co.touchlab:stately-common:1.1.7") implementation("co.touchlab:stately-common:1.1.7")
implementation("dev.icerock.moko:parcelize:0.7.0") implementation("dev.icerock.moko:parcelize:${Versions.mokoParcelize}")
// implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.1") // implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.1")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.1") { implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.1") {
// https://youtrack.jetbrains.com/issue/KTOR-2670 // https://youtrack.jetbrains.com/issue/KTOR-2670