You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
50 lines
1.1 KiB
plugins { |
|
id 'com.android.application' |
|
} |
|
|
|
android { |
|
compileSdkVersion 30 |
|
buildToolsVersion "30.0.3" |
|
|
|
defaultConfig { |
|
applicationId "space.rocketnine.xenia" |
|
minSdkVersion 16 |
|
targetSdkVersion 30 |
|
versionCode 15 |
|
versionName "0.1.5" |
|
|
|
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 |
|
} |
|
} |
|
|
|
ext { |
|
// https://code.rocketnine.space/tslocum/gmitohtml |
|
gmitohtmlVersion = "v1.0.5" |
|
} |
|
|
|
task bindLibrary(type: Exec) { |
|
workingDir "$projectDir" |
|
commandLine 'sh', '-c', './bind.sh ' + project.ext.gmitohtmlVersion |
|
} |
|
|
|
afterEvaluate { |
|
android.applicationVariants.all { variant -> |
|
variant.javaCompiler.dependsOn(bindLibrary) |
|
} |
|
} |
|
|
|
dependencies { |
|
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar']) |
|
}
|
|
|