mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-05 18:25:31 +08:00
This allows e.g. files from the $HOME folder to be attached to emails or uploaded when in other apps. Also bump version to 0.18.
49 lines
1017 B
Groovy
49 lines
1017 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 23
|
|
buildToolsVersion "23.0.1"
|
|
|
|
sourceSets {
|
|
main {
|
|
jni.srcDirs = []
|
|
}
|
|
}
|
|
|
|
defaultConfig {
|
|
applicationId "com.termux"
|
|
minSdkVersion 21
|
|
targetSdkVersion 22
|
|
versionCode 18
|
|
versionName "0.18"
|
|
}
|
|
|
|
signingConfigs {
|
|
release {
|
|
if (System.getenv("TRAVIS")) {
|
|
storeFile rootProject.file('travis.keystore')
|
|
storePassword 'abcdef'
|
|
keyAlias 'travis'
|
|
keyPassword 'abcdef'
|
|
} else {
|
|
storeFile new File(TERMUX_KEYSTORE_FILE)
|
|
storePassword TERMUX_KEYSTORE_PASSWORD
|
|
keyAlias TERMUX_KEYSTORE_ALIAS
|
|
keyPassword TERMUX_KEYSTORE_PASSWORD
|
|
}
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testCompile 'junit:junit:4.12'
|
|
}
|