Skip to content

Instantly share code, notes, and snippets.

@rutvikbhatt9
Created December 14, 2018 10:12
Show Gist options
  • Save rutvikbhatt9/aa105b53dcce7558c4e93bbf057999d5 to your computer and use it in GitHub Desktop.
Save rutvikbhatt9/aa105b53dcce7558c4e93bbf057999d5 to your computer and use it in GitHub Desktop.
Set the Signin Configuration for your release build
android {
...
defaultConfig { ... }
signingConfigs {
release {
// You need to specify either an absolute path or include the
// keystore file in the same directory as the build.gradle file.
storeFile file("my-release-key.jks")
storePassword "password"
keyAlias "my-alias"
keyPassword "password"
}
}
buildTypes {
release {
signingConfig signingConfigs.release
...
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment