You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
677 B

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
}
}
allprojects {
repositories {
google()
jcenter()
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
String SDK_DIR = System.getenv("ANDROID_HOME")
String paht = "-Xbootclasspath/p:${SDK_DIR}/platforms/android-29/framework.jar";
options.compilerArgs.add(paht)
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}