Skip to content

Instantly share code, notes, and snippets.

@gokmenbayram
Last active January 6, 2021 13:47
Show Gist options
  • Save gokmenbayram/ed5ca5855991e84f872376aae1f066d1 to your computer and use it in GitHub Desktop.
Save gokmenbayram/ed5ca5855991e84f872376aae1f066d1 to your computer and use it in GitHub Desktop.
flavorDimensions "version"
productFlavors{
admin {
applicationId "com.example.admin"
applicationIdSuffix ".debug"
minSdkVersion 23
versionName "1.23"
versionCode 2
targetSdkVersion 30
resValue "string", "ArrayValue", '"AdminArray"'
resValue "string", "APP_NAME", '"Admin App"'
resValue "string", "text", '"This is Admin App"'
resValue "color", 'background_color', "#26BB91"
resValue "color", 'text_color', "#FFFFFF"
manifestPlaceholders = [
appIcon: "@mipmap/admin",
appIconRound: "@mipmap/admin_round"
]
}
customer {
applicationId "com.example.customer"
applicationIdSuffix ".debug"
minSdkVersion 16
versionName "1.16"
versionCode 2
targetSdkVersion 30
resValue "string", "ArrayValue", '"CustomerArray"'
resValue "string", "APP_NAME", '"Customer App"'
resValue "string", "text", '"This is Customer App"'
resValue "color", 'background_color', "#323322"
resValue "color", 'text_color', "#FFFFFF"
manifestPlaceholders = [
appIcon: "@mipmap/customer",
appIconRound: "@mipmap/customer_round"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment