Skip to content

Instantly share code, notes, and snippets.

@motorro
Last active August 12, 2019 08:40
Show Gist options
  • Save motorro/6a88a5c71af885bd9432ea1443ad9737 to your computer and use it in GitHub Desktop.
Save motorro/6a88a5c71af885bd9432ea1443ad9737 to your computer and use it in GitHub Desktop.
Application variants
android {
flavorDimensions "backend"
productFlavors {
testserver {
dimension "backend"
applicationIdSuffix ".test" // Makes your app have a different package name
}
production {
dimension "backend"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment