45 lines
1.4 KiB
Groovy
45 lines
1.4 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { url "https://jitpack.io" }
|
|
maven { url 'http://developer.huawei.com/repo/' }
|
|
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
|
|
maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases/' }
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.6.4'
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
configurations.all {
|
|
resolutionStrategy {
|
|
force 'androidx.constraintlayout:constraintlayout:2.0.4'
|
|
}
|
|
}
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { url "https://jitpack.io" }
|
|
maven { url 'http://developer.huawei.com/repo/' }
|
|
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
|
|
maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases/' }
|
|
}
|
|
gradle.projectsEvaluated {
|
|
tasks.withType(JavaCompile) {
|
|
options.compilerArgs.add('-Xbootclasspath/p:app/libs/framework.jar')
|
|
}
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|