2018-05-14 15:20:36 +00:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
2018-05-29 17:16:32 +00:00
|
|
|
ext.kotlin_version = '1.2.41'
|
2018-05-30 20:38:45 +00:00
|
|
|
|
|
|
|
ext.library = [
|
2018-07-18 22:28:08 +00:00
|
|
|
version: '0.8.1'
|
2018-05-30 20:38:45 +00:00
|
|
|
]
|
|
|
|
|
2018-06-01 19:44:31 +00:00
|
|
|
ext.build = [
|
|
|
|
compileSdkVersion: 27,
|
|
|
|
targetSdkVersion: 27,
|
2018-06-25 19:10:11 +00:00
|
|
|
minSdkVersion: 19
|
2018-06-01 19:44:31 +00:00
|
|
|
]
|
|
|
|
|
2018-05-14 15:20:36 +00:00
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
google()
|
|
|
|
}
|
2018-07-18 22:05:44 +00:00
|
|
|
|
2018-05-14 15:20:36 +00:00
|
|
|
dependencies {
|
2018-05-29 17:16:32 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:3.1.2'
|
2018-05-14 15:20:36 +00:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
|
2018-05-30 20:38:45 +00:00
|
|
|
// Publish.
|
|
|
|
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
|
|
|
|
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
|
|
|
|
|
2018-05-14 15:20:36 +00:00
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
google()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|
2018-07-18 22:28:08 +00:00
|
|
|
|
|
|
|
task printModules {
|
|
|
|
doLast {
|
|
|
|
subprojects.each { p ->
|
|
|
|
println "module: " + p.path
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|