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.
38 lines
916 B
38 lines
916 B
2 years ago
|
buildscript {
|
||
|
repositories {
|
||
|
|
||
|
// maven { url 'https://maven.aliyun.com/repository/google' }
|
||
|
// maven { url 'https://maven.aliyun.com/repository/jcenter' }
|
||
|
// maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
|
||
|
google()
|
||
|
mavenCentral()
|
||
|
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
classpath 'com.android.tools.build:gradle:4.1.0'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
allprojects {
|
||
|
repositories {
|
||
|
// maven { url 'https://maven.aliyun.com/repository/google' }
|
||
|
// maven { url 'https://maven.aliyun.com/repository/jcenter' }
|
||
|
// maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
|
||
|
google()
|
||
|
mavenCentral()
|
||
|
}
|
||
|
}
|
||
|
|
||
|
rootProject.buildDir = '../build'
|
||
|
subprojects {
|
||
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
||
|
}
|
||
|
subprojects {
|
||
|
project.evaluationDependsOn(':app')
|
||
|
}
|
||
|
|
||
|
task clean(type: Delete) {
|
||
|
delete rootProject.buildDir
|
||
|
}
|