85d17f1dff
Cribbed directly from 50add3e176
51 lines
1.1 KiB
Groovy
51 lines
1.1 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.2.41'
|
|
|
|
ext.library = [
|
|
version: '0.8.1'
|
|
]
|
|
|
|
ext.build = [
|
|
compileSdkVersion: 27,
|
|
targetSdkVersion: 27,
|
|
minSdkVersion: 19
|
|
]
|
|
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.1.2'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
// Publish.
|
|
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
|
|
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
|
|
|
|
// 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
|
|
}
|
|
|
|
task printModules {
|
|
doLast {
|
|
subprojects.each { p ->
|
|
println "module: " + p.path
|
|
}
|
|
}
|
|
}
|