Add internal product flavor.

This commit is contained in:
Cody Henthorne
2020-10-29 15:33:15 -04:00
committed by GitHub
parent a4fa2e14fb
commit 52b533c121
3 changed files with 16 additions and 0 deletions

View File

@@ -246,6 +246,13 @@ android {
buildConfigField "boolean", "PLAY_STORE_DISABLED", "true"
buildConfigField "String", "NOPLAY_UPDATE_URL", "\"$ext.websiteUpdateUrl\""
}
internal {
dimension "none"
ext.websiteUpdateUrl = "null"
buildConfigField "boolean", "PLAY_STORE_DISABLED", "false"
buildConfigField "String", "NOPLAY_UPDATE_URL", "$ext.websiteUpdateUrl"
}
}
android.applicationVariants.all { variant ->