Skip to content

Commit 88157cd

Browse files
committed
Update libs
1 parent ecce23a commit 88157cd

4 files changed

Lines changed: 24 additions & 26 deletions

File tree

app/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,9 @@ dependencies {
154154
implementation(libs.compose.ui.toolingPreview)
155155
implementation(libs.compose.runtime.livedata)
156156

157+
implementation(libs.aboutLibs.core)
157158
implementation(libs.aboutLibs.compose)
159+
implementation(libs.aboutLibs.compose.core)
158160
implementation(libs.jodaTime)
159161

160162
implementation(libs.ktor.core)

app/src/main/java/at/bitfire/icsdroid/ui/nav/MainApp.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ import androidx.core.os.BundleCompat
2020
import androidx.lifecycle.viewmodel.navigation3.rememberViewModelStoreNavEntryDecorator
2121
import androidx.navigation3.runtime.entryProvider
2222
import androidx.navigation3.runtime.rememberNavBackStack
23-
import androidx.navigation3.runtime.rememberSavedStateNavEntryDecorator
24-
import androidx.navigation3.scene.rememberSceneSetupNavEntryDecorator
23+
import androidx.navigation3.runtime.rememberSaveableStateHolderNavEntryDecorator
2524
import androidx.navigation3.ui.NavDisplay
2625
import at.bitfire.icsdroid.MainActivity.Companion.EXTRA_ERROR_MESSAGE
2726
import at.bitfire.icsdroid.MainActivity.Companion.EXTRA_REQUEST_CALENDAR_PERMISSION
@@ -103,8 +102,7 @@ fun MainApp(
103102

104103
NavDisplay(
105104
entryDecorators = listOf(
106-
rememberSceneSetupNavEntryDecorator(),
107-
rememberSavedStateNavEntryDecorator(),
105+
rememberSaveableStateHolderNavEntryDecorator(),
108106
rememberViewModelStoreNavEntryDecorator()
109107
),
110108
backStack = backStack,

app/src/main/java/at/bitfire/icsdroid/ui/screen/InfoScreen.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ import at.bitfire.icsdroid.service.ComposableStartupService.Companion.FLAG_DONAT
4848
import at.bitfire.icsdroid.ui.partials.ExtendedTopAppBar
4949
import at.bitfire.icsdroid.ui.partials.GenericAlertDialog
5050
import com.mikepenz.aboutlibraries.ui.compose.m3.LibrariesContainer
51-
import com.mikepenz.aboutlibraries.ui.compose.rememberLibraries
51+
import com.mikepenz.aboutlibraries.ui.compose.produceLibraries
5252
import kotlinx.coroutines.runBlocking
5353
import java.util.ServiceLoader
5454

@@ -104,7 +104,7 @@ fun InfoScreen(
104104
)
105105
}
106106
) { contentPadding ->
107-
val libraries by rememberLibraries {
107+
val libraries by produceLibraries {
108108
resources.openRawResource(R.raw.aboutlibraries).bufferedReader().use { input ->
109109
input.readText()
110110
}

gradle/libs.versions.toml

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,41 @@
11
[versions]
2-
aboutLibs = "12.2.4"
3-
agp = "8.13.0"
4-
androidx-activityCompose = "1.11.0"
2+
aboutLibs = "13.1.0"
3+
agp = "8.13.1"
4+
androidx-activityCompose = "1.12.1"
55
androidx-appCompat = "1.7.1"
66
androidx-archCore = "2.2.0"
77
androidx-core = "1.17.0"
88
androidx-hilt = "1.3.0"
9-
androidx-lifecycle = "2.9.4"
10-
# should be replaced by androidx-lifecycle once nav3 is stable (probably 2.10.0?)
11-
androidx-lifecycle-nav3 = "2.10.0-alpha04"
12-
androidx-nav3 = "1.0.0-alpha10"
9+
androidx-lifecycle = "2.10.0"
10+
androidx-lifecycle-nav3 = "2.10.0"
11+
androidx-nav3 = "1.0.0"
1312
androidx-test-junit = "1.3.0"
1413
androidx-test-rules = "1.7.0"
1514
androidx-test-runner = "1.7.0"
16-
androidx-work = "2.10.5"
15+
androidx-work = "2.11.0"
1716
bitfire-cert4android = "41009d4"
1817
bitfire-synctools = "7aa709f6b6"
1918
compose-dialogs = "1.3.0"
2019
compose-material = "1.7.8"
2120
compose-material3 = "1.4.0"
22-
compose-runtime = "1.9.2"
23-
compose-ui = "1.9.2"
24-
datastore = "1.1.7"
21+
compose-runtime = "1.10.0"
22+
compose-ui = "1.10.0"
23+
datastore = "1.2.0"
2524
desugaring = "2.1.5"
2625
hilt = "2.57.2"
2726
joda-time = "2.14.0"
2827
junit = "4.13.2"
29-
kotlin = "2.2.20"
28+
kotlin = "2.2.21"
3029
kotlinx-coroutines = "1.10.2"
3130
kotlinx-serialization-core = "1.9.0"
32-
ksp = "2.2.20-2.0.3"
33-
ktor = "3.3.0"
34-
okhttp = "5.1.0"
35-
room = "2.8.1"
31+
ksp = "2.3.3"
32+
ktor = "3.3.3"
33+
okhttp = "5.3.2"
34+
room = "2.8.4"
3635

3736
[libraries]
37+
aboutLibs-core = { module = "com.mikepenz:aboutlibraries-core", version.ref = "aboutLibs" }
38+
aboutLibs-compose-core = { module = "com.mikepenz:aboutlibraries-compose-core", version.ref = "aboutLibs" }
3839
aboutLibs-compose = { module = "com.mikepenz:aboutlibraries-compose-m3", version.ref = "aboutLibs" }
3940
androidx-activityCompose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activityCompose" }
4041
androidx-appCompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx-appCompat" }
@@ -75,15 +76,12 @@ jodaTime = { module = "joda-time:joda-time", version.ref = "joda-time" }
7576
junit = { module = "junit:junit", version.ref = "junit" }
7677
kotlinx-coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinx-coroutines" }
7778
kotlinx-serialization-core = { module = "org.jetbrains.kotlinx:kotlinx-serialization-core", version.ref = "kotlinx-serialization-core" }
78-
okhttp-base = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
79-
okhttp-coroutines = { module = "com.squareup.okhttp3:okhttp-coroutines", version.ref = "okhttp" }
8079
okhttp-brotli = { module = "com.squareup.okhttp3:okhttp-brotli", version.ref = "okhttp" }
81-
okhttp-mockwebserver = { module = "com.squareup.okhttp3:mockwebserver", version.ref = "okhttp" }
8280
room-base = { module = "androidx.room:room-ktx", version.ref = "room" }
8381
room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" }
8482

8583
[plugins]
86-
aboutLibs = { id = "com.mikepenz.aboutlibraries.plugin", version.ref = "aboutLibs" }
84+
aboutLibs = { id = "com.mikepenz.aboutlibraries.plugin.android", version.ref = "aboutLibs" }
8785
android-application = { id = "com.android.application", version.ref = "agp" }
8886
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
8987
hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }

0 commit comments

Comments
 (0)