2017-10-23 13:40:38 +03:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
2017-10-28 00:10:06 +03:00
|
|
|
|
|
|
|
ext {
|
2018-10-24 03:12:42 +03:00
|
|
|
kotlinVersion = '1.2.71'
|
2017-10-28 00:10:06 +03:00
|
|
|
}
|
|
|
|
|
2017-10-23 13:40:38 +03:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
2018-07-22 21:44:07 +03:00
|
|
|
maven {
|
|
|
|
url 'https://jitpack.io'
|
|
|
|
}
|
2017-10-23 13:40:38 +03:00
|
|
|
}
|
|
|
|
dependencies {
|
2018-10-24 03:12:42 +03:00
|
|
|
classpath 'com.android.tools.build:gradle:3.4.0-alpha01'
|
2017-10-28 00:10:06 +03:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
|
2017-10-23 13:40:38 +03:00
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
configurations.all {
|
|
|
|
// check for updates every build
|
|
|
|
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
maven {
|
|
|
|
url 'https://oss.sonatype.org/content/repositories/snapshots'
|
|
|
|
}
|
|
|
|
maven {
|
|
|
|
url 'https://jitpack.io'
|
|
|
|
}
|
|
|
|
maven { url 'https://maven.google.com' }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|