This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
buildTypes { | |
chikija { | |
resValue "string", "app_name", "چیکیجا" | |
} | |
filmbazi { | |
resValue "string", "app_name", "فیلمبازی" | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
buildTypes { | |
chikija { | |
buildConfigField "int", "QUESTIONS", "42" | |
buildConfigField "String", "URL_STRING", "\"chikija\"" | |
buildConfigField "boolean", "HAS_PLAYER", "true" | |
} | |
filmbazi { | |
buildConfigField "int", "QUESTIONS", "52" | |
buildConfigField "String", "URL_STRING", "\"filmbazi\"" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(BuildConfig.Flavor.equals("chikija")) { | |
} | |
else if(BuildConfig.Flavor.equals("filmbazi")) { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class BuildConfig { | |
public static final boolean DEBUG = Boolean.parseBoolean("true"); | |
public static final String APPLICATION_ID = "com.kaajdev.guessit.filmbazi"; | |
public static final String BUILD_TYPE = "debug"; | |
public static final String FLAVOR = "filmbaziCafebazaar"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<resources> | |
<string name="flavor_name">Chikija Flavor</string> | |
<string name="Chikija_unique">Just for chikija flavor</string> | |
</resources> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<resources> | |
<string name="app_name">MainFlavorSample</string> | |
<string name="flavor_name">Main Flavor</string> | |
</resources> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
... | |
flavorDimensions("version_name", "market") | |
... | |
} | |
productFlavors { | |
filmbazi { | |
dimension "version_name" | |
applicationIdSuffix ".filmbazi" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
... | |
flavorDimensions "default" | |
... | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
productFlavors { | |
filmbazi { | |
applicationIdSuffix ".filmbazi" | |
versionNameSuffix "-filmbazi" | |
} | |
chikija { | |
applicationIdSuffix ".chikija" | |
versionNameSuffix "-chikija" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildTypes { | |
defaultConfig { | |
applicationId "me.sisakhti" | |
... | |
} |
NewerOlder