Last active
May 5, 2016 16:11
-
-
Save willblaschko/8b108e1208dbe52eca69693c393d6e22 to your computer and use it in GitHub Desktop.
Signing config
This file contains hidden or 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
if (file('signing.gradle').exists()) { | |
apply from: 'signing.gradle' | |
} | |
android{ | |
... | |
buildTypes { | |
debug{ | |
versionNameSuffix " Debug" | |
minifyEnabled false | |
shrinkResources true | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
signingConfig signingConfigs.releaseConfig | |
} | |
release { | |
minifyEnabled false | |
shrinkResources true | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
signingConfig signingConfigs.releaseConfig | |
} | |
} | |
... | |
} | |
... |
This file contains hidden or 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 { | |
releaseConfig { | |
storeFile file(".../path/to/keystore") | |
storePassword 'STOREPASS' | |
keyAlias "KEYALIAS" | |
keyPassword 'KEYPASS' | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment