Skip to content

Instantly share code, notes, and snippets.

@itsandreramon
Last active September 12, 2019 20:23
Show Gist options
  • Save itsandreramon/cec071f40cc9e376b795c31038495f28 to your computer and use it in GitHub Desktop.
Save itsandreramon/cec071f40cc9e376b795c31038495f28 to your computer and use it in GitHub Desktop.
signingConfigs {
- debug {
+ getByName(“debug”) {
- keyAlias = keystoreProperties["debugKeyAlias"]
+ keyAlias = keystoreProperties["debugKeyAlias"].toString()
// ...
}
- release {
+ create(“release”) {
- keyAlias = keystoreProperties["debugKeyAlias"]
+ keyAlias = keystoreProperties["releaseKeyAlias"].toString()
// ...
}
}
buildTypes {
- debug {
+ getByName("debug") {
- signingConfig signingConfigs.debug
+ signingConfig = signingConfigs.getByName("debug")
// ...
}
- release {
+ getByName("release") {
- signingConfig signingConfigs.debug
+ signingConfig = signingConfigs.getByName("release")
// ...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment