Merge pull request #414 from sigmabeta/android-gradle-customization
Android: Attach '.debug' to the end of the app's package name, if built in Debug configuration.
This commit is contained in:
commit
f120d333b7
|
@ -71,8 +71,16 @@ android {
|
|||
}
|
||||
|
||||
buildTypes {
|
||||
// Signed by release key, allowing for upload to Play Store.
|
||||
release {
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
|
||||
// Signed by debug key disallowing distribution on Play Store.
|
||||
// Attaches 'debug' suffix to version and package name, allowing installation alongside the release build.
|
||||
debug {
|
||||
packageNameSuffix '.debug'
|
||||
versionNameSuffix '-debug'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue