Add config to be able to build (see pull request description as well)

This commit is contained in:
Julia Friesel
2018-09-04 17:15:00 +02:00
parent d0f90ff8c0
commit 7f66081e72
3 changed files with 19 additions and 0 deletions
+11
View File
@@ -108,6 +108,16 @@ android {
abiFilters "armeabi-v7a", "x86"
}
}
signingConfigs {
release {
if (project.hasProperty('DRIP_RELEASE_STORE_FILE')) {
storeFile file(DRIP_RELEASE_STORE_FILE)
storePassword DRIP_RELEASE_STORE_PASSWORD
keyAlias DRIP_RELEASE_KEY_ALIAS
keyPassword DRIP_RELEASE_KEY_PASSWORD
}
}
}
splits {
abi {
reset()
@@ -120,6 +130,7 @@ android {
release {
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
signingConfig signingConfigs.release
}
}
// applicationVariants are e.g. debug, release