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.
39 lines
1.0 KiB
39 lines
1.0 KiB
buildscript {
|
|
repositories {
|
|
maven { url 'https://maven.aliyun.com/repository/public/' }
|
|
maven { url 'https://maven.aliyun.com/repository/google/'}
|
|
maven { url 'https://maven.aliyun.com/repository/jcenter/'}
|
|
// maven { url "https://maven.google.com" }
|
|
// google()
|
|
// jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:4.1.0'
|
|
// classpath 'com.android.tools.build:gradle:3.5.4'
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
maven { url 'https://maven.aliyun.com/repository/public/' }
|
|
maven { url 'https://maven.aliyun.com/repository/google/'}
|
|
maven { url 'https://maven.aliyun.com/repository/jcenter/'}
|
|
// maven { url "https://maven.google.com" }
|
|
// google()
|
|
// jcenter()
|
|
}
|
|
}
|
|
|
|
rootProject.buildDir = '../build'
|
|
subprojects {
|
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
|
}
|
|
subprojects {
|
|
project.evaluationDependsOn(':app')
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|