2018-10-03 23:56:33 +08:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
2018-10-13 17:18:49 +08:00
|
|
|
ext.kotlin_version = '1.3.0-rc-146'
|
2018-10-03 23:56:33 +08:00
|
|
|
ext.koin_version = '1.0.1'
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
|
|
|
|
}
|
|
|
|
dependencies {
|
2018-10-13 17:18:49 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:3.2.1'
|
2018-10-03 23:56:33 +08:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
|
2018-10-18 17:16:02 +08:00
|
|
|
maven { url 'https://jitpack.io' }
|
2018-10-03 23:56:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|