Created
January 2, 2016 11:13
-
-
Save a7madev/e7945a271060afc32e6e to your computer and use it in GitHub Desktop.
How to have debug, beta and prod builds installed at the same time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defaultConfig { | |
| resValue "string", "app_name", "MyApp" | |
| } | |
| buildTypes { | |
| debug { | |
| applicationIdSuffix = ".debug" | |
| testCoverageEnabled = "true" | |
| resValue "string", "app_name", "MyApp DEBUG" | |
| } | |
| release { | |
| minifyEnabled false | |
| proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt' | |
| } | |
| beta { | |
| applicationIdSuffix = ".beta" | |
| initWith release | |
| resValue "string", "app_name", "MyApp BETA" | |
| } | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source: https://medium.com/yplan-eng/how-to-have-debug-beta-and-prod-builds-installed-at-the-same-time-696ec4c76211#.pa8kyjx1c