Skip to content

Instantly share code, notes, and snippets.

@LuffyAnshul
Last active December 10, 2022 06:38
Show Gist options
  • Save LuffyAnshul/679d7bbd54fdf5df7dab12b476f3f76f to your computer and use it in GitHub Desktop.
Save LuffyAnshul/679d7bbd54fdf5df7dab12b476f3f76f to your computer and use it in GitHub Desktop.
build Gradle Key Store Secure
signingConfigs {
release {
storeFile file('your_key_name.keystore')
storePassword System.console().readLine("\nKeystore password:")
keyAlias System.console().readLine("\nAlias: ")
keyPassword System.console().readLine("\nAlias password: ")
}
}
@Kaljuk
Copy link

Kaljuk commented Dec 10, 2022

@LuffyAnshul
Small typo on line 6, otherwise great article
keyPassword System.console().readLine("\Alias password: ")
Update the string to have a linebreak before text - currently "\Alias ..."
keyPassword System.console().readLine("\nAlias password: ")

@LuffyAnshul
Copy link
Author

Thank you @Kaljuk I have updated the gist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment