2020-11-22 06:18:42 +00:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 30
|
|
|
|
buildToolsVersion "30.0.2"
|
|
|
|
|
|
|
|
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
|
2020-11-27 04:46:32 +00:00
|
|
|
versionCode 13
|
|
|
|
versionName "0.1.3"
|
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
|
2020-11-28 18:43:38 +00:00
|
|
|
gmitohtmlVersion = "f71136c1a505794ecc79fe639d4c9b80258d7f08"
|
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
|
|
|
}
|