Skip to content

Instantly share code, notes, and snippets.

@evanjmg
Created May 21, 2019 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evanjmg/6c95aa208e25e14194b98af0acf8ca96 to your computer and use it in GitHub Desktop.
Save evanjmg/6c95aa208e25e14194b98af0acf8ca96 to your computer and use it in GitHub Desktop.
...
flavorDimensions "client", "environment"
productFlavors {
production {
dimension "environment"
resValue "string", "build_config_package", "com.appB.consumer" // this is a placeholder - will be replaced on build
}
staging {
dimension "environment"
applicationIdSuffix ".staging"
resValue "string", "build_config_package", "com.appB.consumer"
}
velocity {
dimension "client"
}
appB {
dimension "client"
applicationId project.env.get("PRODUCT_BUNDLE_IDENTIFIER")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment