From 6388a67cc6ace4c79aff9de32933b3d363a2055e Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 14 Aug 2017 09:59:26 +0200 Subject: [PATCH] do not sign the debug build of the app --- app/build.gradle | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index afa8d40d8..d4115f46e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -17,7 +17,6 @@ android { signingConfigs { release - debug } buildTypes { @@ -26,9 +25,6 @@ android { proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release } - debug { - signingConfig signingConfigs.debug - } } sourceSets { @@ -86,18 +82,7 @@ if (propFile.canRead()) { println 'signing.properties found but some release entries are missing' android.buildTypes.release.signingConfig = null } - - if (props != null && props.containsKey('DEBUG_STORE_FILE') && props.containsKey('DEBUG_KEY_ALIAS') && props.containsKey('DEBUG_PASSWORD')) { - android.signingConfigs.debug.storeFile = file(props['DEBUG_STORE_FILE']) - android.signingConfigs.debug.storePassword = props['DEBUG_PASSWORD'] - android.signingConfigs.debug.keyAlias = props['DEBUG_KEY_ALIAS'] - android.signingConfigs.debug.keyPassword = props['DEBUG_PASSWORD'] - } else { - println 'signing.properties found but some debug entries are missing' - android.buildTypes.debug.signingConfig = null - } } else { println 'signing.properties not found' android.buildTypes.release.signingConfig = null - android.buildTypes.debug.signingConfig = null }