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 {
|
|
|
|
kotlinVersion = '1.1.51'
|
|
|
|
}
|
|
|
|
|
2017-10-23 13:40:38 +03:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
2017-10-24 01:00:43 +03:00
|
|
|
maven { url "http://dl.bintray.com/davideas/maven" }
|
2017-10-23 13:40:38 +03:00
|
|
|
}
|
|
|
|
dependencies {
|
2017-10-26 22:04:25 +03:00
|
|
|
classpath 'com.android.tools.build:gradle:3.0.0'
|
2017-10-24 01:00:43 +03:00
|
|
|
classpath 'eu.davidea:grabver:0.6.0'
|
2017-10-28 00:10:06 +03:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
|
2017-10-28 23:43:17 +03:00
|
|
|
classpath 'com.google.gms:google-services:3.1.0'
|
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
|
|
|
|
}
|