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-11-02 23:00:46 +00:00
|
|
|
google()
|
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
|
|
|
|
2017-11-18 01:12:14 +00:00
|
|
|
|
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-11-02 23:00:46 +00:00
|
|
|
google()
|
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"
|
2017-11-12 19:45:17 +00:00
|
|
|
supportLibraryVersion = "27.0.1"
|
2017-10-04 20:23:56 +00:00
|
|
|
constraintLayoutVersion = "1.0.2"
|
2017-11-12 19:45:17 +00:00
|
|
|
archCompVersion = "1.0.0"
|
2017-10-04 20:23:56 +00:00
|
|
|
minSDK = 22
|
2017-11-05 18:24:25 +00:00
|
|
|
targetSDK = 27
|
2017-10-04 20:23:56 +00:00
|
|
|
}
|
|
|
|
|
2017-03-17 22:19:04 +00:00
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
2017-03-24 22:50:30 +00:00
|
|
|
}
|