编译报错,排查问题
This commit is contained in:
11
build.gradle
11
build.gradle
@@ -21,6 +21,17 @@ buildscript {
|
||||
}
|
||||
|
||||
allprojects {
|
||||
configurations.all {
|
||||
resolutionStrategy {
|
||||
force 'androidx.constraintlayout:constraintlayout:2.0.4'
|
||||
// 统一 androidx.annotation
|
||||
force 'androidx.annotation:annotation:1.3.0'
|
||||
// 统一 lifecycle-runtime
|
||||
force 'androidx.lifecycle:lifecycle-runtime:2.3.1'
|
||||
// 统一 Kotlin 标准库
|
||||
force 'org.jetbrains.kotlin:kotlin-stdlib:1.5.10'
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
|
||||
Reference in New Issue
Block a user