From d77c8e62888f9889ea4f799ebe050b1f22fdc38e Mon Sep 17 00:00:00 2001 From: mvmike Date: Thu, 4 Aug 2016 20:50:05 +0200 Subject: [PATCH] add signatureConfig for release --- min-cal-widget/build.gradle | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/min-cal-widget/build.gradle b/min-cal-widget/build.gradle index a84e94f1..ea50f96e 100644 --- a/min-cal-widget/build.gradle +++ b/min-cal-widget/build.gradle @@ -12,10 +12,21 @@ android { versionName "0.0.1" } + signingConfigs { + + release { + storeFile file(RELEASE_STORE_FILE) + storePassword RELEASE_STORE_PASSWORD + keyAlias RELEASE_KEY_ALIAS + keyPassword RELEASE_KEY_PASSWORD + } + } + buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + signingConfig signingConfigs.release } }