Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
delroth committed May 28, 2014
2 parents 0602dac + 5416dd2 commit f120d33
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Source/Android/build.gradle
Expand Up @@ -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'
}
}
}

0 comments on commit f120d33

Please sign in to comment.