Миграция на новую версию Kotlin/Compose

This commit is contained in:
2023-04-07 16:33:16 +03:00
parent 7e8a6cf260
commit 8db9a89237
2 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -69,9 +69,9 @@ dependencies {
implementation "androidx.compose.runtime:runtime-livedata:$compose_version" implementation "androidx.compose.runtime:runtime-livedata:$compose_version"
implementation "androidx.compose.material:material-icons-extended:$compose_version" implementation "androidx.compose.material:material-icons-extended:$compose_version"
implementation "com.google.accompanist:accompanist-swiperefresh:0.23.0" implementation "com.google.accompanist:accompanist-swiperefresh:0.23.0"
implementation "com.google.accompanist:accompanist-navigation-animation:0.24.1-alpha" implementation "com.google.accompanist:accompanist-navigation-animation:0.30.0"
implementation 'com.squareup.retrofit2:retrofit:2.6.4' implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0' implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
@@ -79,11 +79,11 @@ dependencies {
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0' implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
//LazyHorizontalGrid //LazyHorizontalGrid
implementation 'androidx.compose.foundation:foundation:1.3.1' implementation 'androidx.compose.foundation:foundation:1.4.1'
// The compose calendar library // The compose calendar library
implementation 'com.kizitonwose.calendar:compose:2.1.1' implementation 'com.kizitonwose.calendar:compose:2.1.1'
implementation "io.coil-kt:coil-compose:2.2.0" implementation "io.coil-kt:coil-compose:2.3.0"
} }
+3 -3
View File
@@ -1,12 +1,12 @@
buildscript { buildscript {
ext { ext {
compose_version = '1.1.0' compose_version = '1.4.1'
} }
}// Top-level build file where you can add configuration options common to all sub-projects/modules. }
plugins { plugins {
id 'com.android.application' version '7.2.1' apply false id 'com.android.application' version '7.2.1' apply false
id 'com.android.library' version '7.2.1' apply false id 'com.android.library' version '7.2.1' apply false
id 'org.jetbrains.kotlin.android' version '1.6.10' apply false id 'org.jetbrains.kotlin.android' version '1.8.0' apply false
} }
task clean(type: Delete) { task clean(type: Delete) {
delete rootProject.buildDir delete rootProject.buildDir