From 934536efdc19714d40a27ab40f52a2b3b533446a Mon Sep 17 00:00:00 2001 From: Zyrouge Date: Sun, 20 Oct 2024 19:50:09 +0530 Subject: [PATCH] chore: bump deps --- .gitignore | 4 +++- .../zyrouge/symphony/ui/view/home/Playlists.kt | 4 ++-- gradle/libs.versions.toml | 17 ++++++++--------- gradle/wrapper/gradle-wrapper.properties | 2 +- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 3bd3be91..e7d4a7ca 100644 --- a/.gitignore +++ b/.gitignore @@ -20,4 +20,6 @@ node_modules phrasey-dist app/src/main/assets/i18n dist -secrets \ No newline at end of file +secrets +.kotlin + diff --git a/app/src/main/java/io/github/zyrouge/symphony/ui/view/home/Playlists.kt b/app/src/main/java/io/github/zyrouge/symphony/ui/view/home/Playlists.kt index 7c2c7146..a8536c6d 100644 --- a/app/src/main/java/io/github/zyrouge/symphony/ui/view/home/Playlists.kt +++ b/app/src/main/java/io/github/zyrouge/symphony/ui/view/home/Playlists.kt @@ -44,7 +44,7 @@ fun PlaylistsView(context: ViewContext) { var showPlaylistCreator by remember { mutableStateOf(false) } val openPlaylistLauncher = rememberLauncherForActivityResult( - ActivityResultContracts.CreateDocument(MediaExposer.MIMETYPE_M3U8) + ActivityResultContracts.OpenDocument() ) { uri -> uri?.let { _ -> try { @@ -73,7 +73,7 @@ fun PlaylistsView(context: ViewContext) { showPlaylistCreator = true }, showPlaylistPicker = { - openPlaylistLauncher.launch(null) + openPlaylistLauncher.launch(arrayOf(MediaExposer.MIMETYPE_M3U8)) }, ) Spacer(modifier = Modifier.height(4.dp)) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 3b16f9b5..9d36cc44 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,28 +1,27 @@ [versions] -activity-compose = "1.8.2" +activity-compose = "1.9.3" coil = "2.6.0" -compose = "1.6.6" -compose-material = "1.6.6" -compose-material3 = "1.3.0-alpha05" -compose-navigation = "2.7.7" -core = "1.13.0" +compose = "1.7.4" +compose-material = "1.7.4" +compose-material3 = "1.3.0" +compose-navigation = "2.8.3" +core = "1.13.1" core-splashscreen = "1.0.1" documentfile = "1.0.1" fuzzywuzzy = "1.4.0" junit-jupiter = "5.11.0" kotlinx-serialization-json = "1.7.3" -lifecycle-runtime = "2.7.0" +lifecycle-runtime = "2.8.6" media = "1.7.0" okhttp3 = "4.12.0" -android-gradle-plugin = "8.3.2" +android-gradle-plugin = "8.7.1" kotlin-gradle-plugin = "2.0.20" kotlin-serialization-plugin = "2.0.20" compile-sdk = "34" min-sdk = "28" target-sdk = "34" -testng = "6.9.6" [libraries] activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activity-compose" } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index dfbe2747..635a3dad 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Thu Apr 18 14:18:59 IST 2024 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists