Skip to content

Instantly share code, notes, and snippets.

@luthfihariz
Last active March 4, 2020 08:34
Show Gist options
  • Save luthfihariz/be73e6b1141f63679798fe73585849ca to your computer and use it in GitHub Desktop.
Save luthfihariz/be73e6b1141f63679798fe73585849ca to your computer and use it in GitHub Desktop.
android {
// other snippet
flavorDimensions "default"
productFlavors {
prod {
resValue "string", "build_config_package", "com.your.coolapp"
}
stag {
applicationIdSuffix ".stag"
resValue "string", "build_config_package", "com.your.coolapp"
}
dev {
applicationIdSuffix ".dev"
resValue "string", "build_config_package", "com.your.coolapp"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment