mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Only use signing configuration if env variables are defined
This commit is contained in:
@@ -16,6 +16,7 @@ android {
|
||||
compileSdkVersion COMPILE_SDK_VERSION as Integer
|
||||
buildToolsVersion BUILD_TOOLS_VERSION
|
||||
|
||||
if(project.hasProperty("LOOP_STORE_FILE")) {
|
||||
signingConfigs {
|
||||
release {
|
||||
storeFile file(LOOP_STORE_FILE)
|
||||
@@ -24,6 +25,8 @@ android {
|
||||
keyPassword LOOP_KEY_PASSWORD
|
||||
}
|
||||
}
|
||||
buildTypes.release.signingConfig signingConfigs.release
|
||||
}
|
||||
|
||||
playAccountConfigs {
|
||||
defaultAccountConfig {
|
||||
@@ -53,7 +56,6 @@ android {
|
||||
release {
|
||||
minifyEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
|
||||
debug {
|
||||
|
||||
Reference in New Issue
Block a user