55 lines
1.3 KiB
Groovy
55 lines
1.3 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.10.0'
|
|
]
|
|
|
|
ext.build = [
|
|
compileSdkVersion: 27,
|
|
targetSdkVersion: 27,
|
|
minSdkVersion: 21, // So that we can publish for aarch64.
|
|
]
|
|
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
maven {
|
|
url "https://plugins.gradle.org/m2/"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.1.3'
|
|
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'
|
|
|
|
classpath 'gradle.plugin.org.mozilla.rust-android-gradle:plugin:0.0.4'
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|
|
|
|
task printModules {
|
|
doLast {
|
|
subprojects.each { p ->
|
|
println "module: " + p.path
|
|
}
|
|
}
|
|
}
|