mirror of
https://github.com/BetterAndroid/compose-multiplatform-template.git
synced 2025-09-05 10:15:24 +08:00
chore: android compose follows kmp version
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
@@ -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: +
|
||||
|
Reference in New Issue
Block a user