chore: android compose follows kmp version

This commit is contained in:
2023-11-20 09:46:42 +08:00
parent 7ee315847b
commit 36590f287a
2 changed files with 0 additions and 16 deletions

View File

@@ -43,13 +43,4 @@ android {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
}
val composeAndroidVersion = dependencies.androidx.compose.android.version
configurations.all {
resolutionStrategy.eachDependency {
if (requested.group.startsWith("androidx.compose."))
useVersion(composeAndroidVersion)
}
}

View File

@@ -27,13 +27,6 @@ plugins:
version-ref: android-application
libraries:
# Use a placeholder for the alpha compose version
# In the project to use "androidx.compose.android.version" to obtain the version
# and use the "resolutionStrategy" to replace all the current "stable" versions
androidx.compose.runtime:
runtime-android:
alias: androidx-compose-android
version: ^1.6.0-alpha01
androidx.activity:
activity:
version: +