2019-01-11 09:44:36 +08:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
apply plugin: 'com.github.ben-manes.versions'
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
ext {
|
2019-02-12 19:28:03 +08:00
|
|
|
kotlinVersion = '1.3.21'
|
2019-01-11 09:44:36 +08:00
|
|
|
minSdkVersion = 21
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2019-02-12 19:28:03 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:3.3.1'
|
2019-01-11 09:44:36 +08:00
|
|
|
classpath 'com.github.ben-manes:gradle-versions-plugin:0.20.0'
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|