version:
fix: update:修复设置默认桌面报错
This commit is contained in:
26
build.gradle
26
build.gradle
@@ -40,19 +40,19 @@ apply plugin: 'com.google.protobuf'
|
||||
|
||||
|
||||
android {
|
||||
gradle.projectsEvaluated {
|
||||
tasks.withType(JavaCompile) {
|
||||
Set<File> fileSet = options.bootstrapClasspath.getFiles()
|
||||
List<File> newFileList = new ArrayList<>();
|
||||
//JAVA语法,可连续调用,输入参数建议为相对路径
|
||||
newFileList.add(new File("libs/framework.jar"))
|
||||
//最后将原始参数添加
|
||||
newFileList.addAll(fileSet)
|
||||
options.bootstrapClasspath = files(
|
||||
newFileList.toArray()
|
||||
)
|
||||
}
|
||||
}
|
||||
// gradle.projectsEvaluated {
|
||||
// tasks.withType(JavaCompile) {
|
||||
// Set<File> fileSet = options.bootstrapClasspath.getFiles()
|
||||
// List<File> newFileList = new ArrayList<>();
|
||||
// //JAVA语法,可连续调用,输入参数建议为相对路径
|
||||
// newFileList.add(new File("libs/framework.jar"))
|
||||
// //最后将原始参数添加
|
||||
// newFileList.addAll(fileSet)
|
||||
// options.bootstrapClasspath = files(
|
||||
// newFileList.toArray()
|
||||
// )
|
||||
// }
|
||||
// }
|
||||
|
||||
lintOptions {
|
||||
checkReleaseBuilds false
|
||||
|
||||
Reference in New Issue
Block a user