2017-10-30 01:05:11 +08:00
|
|
|
buildscript {
|
2019-03-04 22:49:18 +08:00
|
|
|
ext.kotlin_version = '1.3.20'
|
2017-10-30 01:05:11 +08:00
|
|
|
repositories {
|
2018-08-10 05:21:26 +08:00
|
|
|
google()
|
2017-10-30 01:05:11 +08:00
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2019-03-04 22:49:18 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:3.3.1'
|
2018-08-10 05:21:26 +08:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2017-10-30 01:05:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
2018-08-10 05:21:26 +08:00
|
|
|
google()
|
2017-10-30 01:05:11 +08:00
|
|
|
jcenter()
|
|
|
|
maven {
|
2018-08-10 05:21:26 +08:00
|
|
|
url "https://maven.google.com" // Google's Maven repository
|
2017-10-30 01:05:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rootProject.buildDir = '../build'
|
|
|
|
subprojects {
|
|
|
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
2018-08-10 05:21:26 +08:00
|
|
|
}
|
|
|
|
subprojects {
|
2017-10-30 01:05:11 +08:00
|
|
|
project.evaluationDependsOn(':app')
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|