buildscript {
repositories {
jcenter()
google()
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
//getOptions().compilerArgs.add('-Xbootclasspath/p:tools/tools-Lib-Smartisan/libs/backup.jar')
getOptions().compilerArgs.add('-Xbootclasspath/p:libs/OverrideAndroidSDK.jar')
//options.compilerArgs.add('-Xbootclasspath/p:tools/tools-Lib-Smartisan/libs/backup.jar')
}
}
}
// 引用jar不要放在这里,要放在
dependencies {
classpath 'com.android.tools.build:gradle:3.3.1'
}
}
网友评论