xenia/app/build.gradle

51 lines
1.1 KiB
Groovy
Raw Normal View History

2020-11-22 06:18:42 +00:00
plugins {
id 'com.android.application'
}
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
2020-11-22 06:18:42 +00:00
defaultConfig {
applicationId "space.rocketnine.xenia"
2020-11-23 02:38:45 +00:00
minSdkVersion 16
2020-11-22 06:18:42 +00:00
targetSdkVersion 30
versionCode 15
versionName "0.1.5"
2020-11-22 06:18:42 +00:00
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
2020-11-23 02:38:45 +00:00
ext {
2021-04-08 03:32:32 +00:00
// https://code.rocketnine.space/tslocum/gmitohtml
gmitohtmlVersion = "v1.0.5"
2020-11-23 02:38:45 +00:00
}
task bindLibrary(type: Exec) {
workingDir "$projectDir"
commandLine 'sh', '-c', './bind.sh ' + project.ext.gmitohtmlVersion
}
afterEvaluate {
android.applicationVariants.all { variant ->
variant.javaCompiler.dependsOn(bindLibrary)
}
}
2020-11-22 06:18:42 +00:00
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
2020-11-23 02:38:45 +00:00
}