mirror of
https://github.com/danog/termux-api.git
synced 2024-12-04 02:07:48 +01:00
0a910cf58f
Fixes an F-Droid build error: Git checkout of 'v0.${versionCode}' failed detail begin error: pathspec 'v0.${versionCode}' did not match any file(s) known to git. detail end
36 lines
712 B
Groovy
36 lines
712 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
|
|
defaultConfig {
|
|
applicationId "com.termux.api"
|
|
minSdkVersion 21
|
|
targetSdkVersion 28
|
|
versionCode 37
|
|
versionName "0.37"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.android.support:design:28.0.0'
|
|
}
|
|
|
|
task versionName {
|
|
doLast {
|
|
print android.defaultConfig.versionName
|
|
}
|
|
}
|