Browse Source

update versions

master
张兴洋 2 years ago
parent
commit
8515bb9ad0
  1. 12
      libs.versions.toml

12
libs.versions.toml

@ -5,6 +5,7 @@ kotlinxCoroutine = "1.6.0"
coil = "2.1.0"
retrofit = "2.9.0"
dataStore = "1.0.0"
lifecycle = "2.4.1"
[libraries]
compose-runtime = { module = "androidx.compose.runtime:runtime", version.ref = "compose" }
@ -19,6 +20,7 @@ compose-ui-viewbinding = { module = "androidx.compose.ui:ui-viewbinding", versio
compose-runtime-livedata = { module = "androidx.compose.runtime:runtime-livedata", version.ref = "compose" }
compose-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4", version.ref = "compose" }
accompanist-systemuicontroller = { module = "com.google.accompanist:accompanist-systemuicontroller", version.ref = "accompanist" }
accompanist-pager = { module = "com.google.accompanist:accompanist-pager", version.ref = "accompanist" }
accompanist-swiperefresh = { module = "com.google.accompanist:accompanist-swiperefresh", version.ref = "accompanist" }
@ -36,6 +38,12 @@ retrofit-retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref =
retrofit-jackson = { module = "com.squareup.retrofit2:converter-jackson", version.ref = "retrofit" }
androidx-activity-compose = "androidx.activity:activity-compose:1.4.0"
androidx-navigation-compose = "androidx.navigation:navigation-compose:2.4.2"
androidx-lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "lifecycle" }
androidx-lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "lifecycle" }
androidx-lifecycle-viewmodel-savedstate = { module = "androidx.lifecycle:lifecycle-viewmodel-savedstate", version.ref = "lifecycle" }
androidx-core-ktx = "androidx.core:core-ktx:1.8.0"
test-ext-junit = "androidx.test.ext:junit:1.1.2"
@ -50,6 +58,10 @@ compose = ["compose-runtime", "compose-ui", "compose-foundation-layout", "compos
"compose-foundation", "compose-animation", "compose-ui-tooling", "compose-ui-viewbinding", "compose-runtime-livedata"]
coroutine = ["kotlinxCoroutine-core","kotlinxCoroutine-android"]
dataStore-preferences =["dataStore-dataStore","dataStore-preferences"]
lifecycle =["androidx-lifecycle-viewmodel","androidx-lifecycle-viewmodel-compose","androidx-lifecycle-viewmodel-savedstate"]
network = ["okhttp-okhttp", "retrofit-retrofit", "retrofit-jackson"]
[plugins]

Loading…
Cancel
Save