Skip to content

Instantly share code, notes, and snippets.

@ValeryPonomarenko
Last active October 18, 2018 09:55
Show Gist options
  • Save ValeryPonomarenko/0f0d9969ffeacc299b55467a398eae95 to your computer and use it in GitHub Desktop.
Save ValeryPonomarenko/0f0d9969ffeacc299b55467a398eae95 to your computer and use it in GitHub Desktop.
Android CircleCI
//...
def props = new Properties()
file("../signing.properties").withInputStream { props.load(it) }
android {
//...
signingConfigs {
release {
keyAlias props.getProperty('keyAlias')
keyPassword props.getProperty('keyPassword')
storeFile file(props.getProperty('storeFile'))
storePassword props.getProperty('storePassword')
}
}
buildTypes {
release {
signingConfig signingConfigs.release
//...
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment