diff options
author | Parménides GV <parmegv@sdf.org> | 2014-09-23 15:57:33 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2014-09-23 15:57:33 +0200 |
commit | 184b064b669a41cba6f42dfc980551009e106710 (patch) | |
tree | a84fa82d069f300a72a4651d0e5ab2ac0c9a7db0 | |
parent | cfe800509413a00fa51f491574b25773ee20dffd (diff) |
Check if there is a release signingConfig.
F-Droid strips the signingConfigs section from build.gradle, so
buildTypes mustn't check if there is a release signing configuration.
-rw-r--r-- | app/build.gradle | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/build.gradle b/app/build.gradle index 822c7124..78f2f791 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -24,7 +24,8 @@ android { buildTypes { release { //runProguard true - signingConfig signingConfigs.release.isSigningReady() ? signingConfigs.release : signingConfigs.debug + if(signingConfigs.contains(release)) + signingConfig signingConfigs.release.isSigningReady() ? signingConfigs.release : signingConfigs.debug } } |