三方库优化
This commit is contained in:
@@ -5,7 +5,26 @@ allprojects {
|
||||
}
|
||||
}
|
||||
|
||||
// 统一 JVM 版本配置
|
||||
allprojects {
|
||||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
configurations.all {
|
||||
resolutionStrategy.eachDependency {
|
||||
if (requested.group == "org.ow2.asm" && requested.name == "asm-util") {
|
||||
useVersion("9.6")
|
||||
because("jcenter is deprecated, using mavenCentral version")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
tasks.withType<JavaCompile> {
|
||||
sourceCompatibility = "17"
|
||||
@@ -19,7 +38,6 @@ allprojects {
|
||||
}
|
||||
}
|
||||
|
||||
// 为 audioplayers_android 模块单独设置 Java 1.8
|
||||
project(":audioplayers_android") {
|
||||
tasks.withType<JavaCompile> {
|
||||
sourceCompatibility = "1.8"
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user