6.7.0 - Alpha6 - 使用 Toolchain 替代 sourceCompatibility/targetCompatibility 以降低构建环境差异
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
plugins {
|
||||
id 'org.autojs.build.utils'
|
||||
id 'org.autojs.build.properties'
|
||||
id 'org.autojs.build.jvm-convention'
|
||||
id 'com.android.library'
|
||||
id 'org.jetbrains.kotlin.android'
|
||||
}
|
||||
@@ -68,15 +69,6 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.toVersion(project.ext.javaVersion)
|
||||
targetCompatibility = JavaVersion.toVersion(project.ext.javaVersion)
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = project.ext.javaVersion
|
||||
}
|
||||
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
path "CMakeLists.txt"
|
||||
|
||||
Reference in New Issue
Block a user