Last active
July 24, 2017 06:27
-
-
Save goforgold/6130e41bdfb98eab2d894e4d17d87fb1 to your computer and use it in GitHub Desktop.
Gradle Build Config for Creating Signed and Aligned APK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
signingConfigs { | |
release { | |
keyAlias 'KEY_ALIAS' | |
keyPassword 'KEY_PASS' | |
storeFile file('PATH_TO_KEY.jks') | |
storePassword 'STORE_PASS' | |
} | |
} | |
compileSdkVersion 25 | |
buildToolsVersion "25.0.3" | |
.. | |
.. | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
signingConfig signingConfigs.release | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment