Created
April 5, 2015 08:39
-
-
Save nisrulz/bdb8444a57f82c3cc61f to your computer and use it in GitHub Desktop.
Android : Prompt for signing when building for release
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
signingConfigs { | |
release { | |
storeFile file(System.console().readLine("\n\$ Enter keystore path: ")) | |
storePassword new String(System.console().readPassword("\n\$ Enter keystore password: ")) | |
keyAlias System.console().readLine("\n\$ Enter key alias: ") | |
keyPassword new String(System.console().readPassword("\n\$ Enter key password: ")) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment