From 4314ea8bedeecbf160681363e6bfb4893b9f76b2 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Thu, 9 Feb 2017 01:20:32 -0700 Subject: [PATCH] Configure build for release App is finally done. --- android/app/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/android/app/build.gradle b/android/app/build.gradle index 329a988..09d65fa 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -97,6 +97,14 @@ android { abiFilters "armeabi-v7a", "x86" } } + signingConfigs { + release { + storeFile file(MYAPP_RELEASE_STORE_FILE) + storePassword MYAPP_RELEASE_STORE_PASSWORD + keyAlias MYAPP_RELEASE_KEY_ALIAS + keyPassword MYAPP_RELEASE_KEY_PASSWORD + } + } splits { abi { reset() @@ -109,6 +117,7 @@ android { release { minifyEnabled enableProguardInReleaseBuilds proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" + signingConfig signingConfigs.release } } // applicationVariants are e.g. debug, release