buildscript {
repositories {
google()
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
jcenter()
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs.add('-Xbootclasspath/p:app/compileonly_libs/framework-origin-p.jar')
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
defaultTasks 'clean', 'assembleRelease'
android build.gradle 阿里云配置
最新推荐文章于 2024-08-31 09:28:26 发布