Created
November 25, 2014 08:29
-
-
Save cdsap/f78fcebd9679a035c618 to your computer and use it in GitHub Desktop.
applicationIdSuffix
This file contains 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
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 21 | |
buildToolsVersion "21.1.0" | |
defaultConfig { | |
applicationId "com.example.myapplication" | |
minSdkVersion 15 | |
targetSdkVersion 21 | |
versionCode 1 | |
versionName "1.0" | |
} | |
buildTypes { | |
release { | |
} | |
} | |
productFlavors { | |
mobile { | |
} | |
gg { | |
applicationId "com.cusotm.package" | |
} | |
} | |
} | |
android.applicationVariants.all { variant -> | |
if (variant.baseName.contains("gg")) { | |
variant.buildType.applicationIdSuffix = ".customsufifx" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment