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 {
|
2020-01-18 09:40:04 +08:00
|
|
|
kotlinVersion = '1.3.61'
|
2019-01-11 09:44:36 +08:00
|
|
|
minSdkVersion = 21
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2020-01-18 09:40:04 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:3.5.3'
|
|
|
|
classpath 'com.github.ben-manes:gradle-versions-plugin:0.27.0'
|
2019-01-11 09:44:36 +08:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
2020-02-06 14:29:24 +08:00
|
|
|
mavenLocal()
|
2019-01-11 09:44:36 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|