Skip to content

Instantly share code, notes, and snippets.

@twaddington
Created July 25, 2017 03:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save twaddington/9da640a3e54273bbc7da10fe5d2e2c89 to your computer and use it in GitHub Desktop.
Save twaddington/9da640a3e54273bbc7da10fe5d2e2c89 to your computer and use it in GitHub Desktop.
Android - Load signing info from keystore.properties
// Load release signing info from keystore.properties
def keystoreProps = new Properties()
keystoreProps.load(new FileInputStream(
rootProject.file('keystore.properties')))
keystoreProps.each { prop ->
if (!project.hasProperty(prop.key)) {
project.ext.set(prop.key, prop.value)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment