6898bac83d
This uses a very rudimentary Gradle plugin, `rust-android-gradle`, with custom fixes and extensions. It works pretty well for what it is!
43 lines
993 B
Groovy
43 lines
993 B
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.3.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
|
|
}
|