Skip to content
Snippets Groups Projects
Commit ec946ad2 authored by Taras's avatar Taras
Browse files

Create store product flavours

parent b74f347e
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,20 @@ android { ...@@ -32,6 +32,20 @@ android {
resValue "string", "app_name", "Circuli" resValue "string", "app_name", "Circuli"
} }
} }
def flavor_dimension_name = "store"
flavorDimensions flavor_dimension_name
productFlavors {
gplay {
dimension flavor_dimension_name
buildConfigField("boolean", "IS_SUBSCRIPTIONS_ENABLED", "true")
}
fdroid {
dimension flavor_dimension_name
buildConfigField("boolean", "IS_SUBSCRIPTIONS_ENABLED", "false")
}
}
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_11 sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment