termux-app/app/build.gradle

44 lines
990 B
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion 28
dependencies {
implementation "androidx.annotation:annotation:1.0.1"
implementation "androidx.viewpager:viewpager:1.0.0"
implementation "androidx.drawerlayout:drawerlayout:1.0.0"
implementation project(":terminal-view")
}
defaultConfig {
applicationId "com.termux"
minSdkVersion 21
targetSdkVersion 28
versionCode 73
versionName "0.73"
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
testImplementation 'junit:junit:4.12'
}
task versionName {
doLast {
print android.defaultConfig.versionName
}
}