2017-03-17 22:19:04 +00:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
2017-10-04 21:03:23 +00:00
|
|
|
ext.kotlin_version = '1.1.51'
|
2017-03-17 22:19:04 +00:00
|
|
|
repositories {
|
|
|
|
jcenter()
|
2017-03-24 22:50:30 +00:00
|
|
|
mavenCentral()
|
2017-09-17 23:01:21 +00:00
|
|
|
maven {
|
|
|
|
url "https://maven.google.com"
|
|
|
|
}
|
2017-03-17 22:19:04 +00:00
|
|
|
}
|
|
|
|
dependencies {
|
2017-10-31 19:49:43 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:3.0.0'
|
2017-10-04 21:03:23 +00:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2017-03-17 22:19:04 +00:00
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
2017-10-31 19:49:43 +00:00
|
|
|
mavenLocal()
|
2017-03-17 22:19:04 +00:00
|
|
|
jcenter()
|
|
|
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
2017-09-17 23:01:21 +00:00
|
|
|
maven { url "https://maven.google.com" }
|
2017-03-17 22:19:04 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-04 20:23:56 +00:00
|
|
|
ext{
|
2017-10-31 19:49:43 +00:00
|
|
|
compileSdkVersion = 27
|
|
|
|
buildToolsVersion = "27.0.0"
|
|
|
|
supportLibraryVersion = "27.0.0"
|
2017-10-04 20:23:56 +00:00
|
|
|
constraintLayoutVersion = "1.0.2"
|
2017-10-31 19:49:43 +00:00
|
|
|
archCompVersion = "1.0.0-rc1"
|
2017-10-04 20:23:56 +00:00
|
|
|
minSDK = 22
|
|
|
|
targetSDK = 26
|
|
|
|
}
|
|
|
|
|
2017-03-17 22:19:04 +00:00
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
2017-03-24 22:50:30 +00:00
|
|
|
}
|