Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Android : Prompt for signing when building for release
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