2017-10-30 01:05:11 +08:00
|
|
|
buildscript {
|
2019-12-20 15:18:16 +08:00
|
|
|
ext.kotlin_version = '1.3.41'
|
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-12-20 15:18:16 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:3.4.2'
|
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
|
|
|
|
}
|