mirror of
https://github.com/BetterAndroid/compose-multiplatform-template.git
synced 2025-09-07 19:14:26 +08:00
chore: android compose follows kmp version
This commit is contained in:
@@ -44,12 +44,3 @@ android {
|
|||||||
targetCompatibility = 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
|
version-ref: android-application
|
||||||
|
|
||||||
libraries:
|
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:
|
androidx.activity:
|
||||||
activity:
|
activity:
|
||||||
version: +
|
version: +
|
||||||
|
Reference in New Issue
Block a user