Last active
August 29, 2015 14:22
-
-
Save framundo/ce9cd0bd5dc0c8a0a76d to your computer and use it in GitHub Desktop.
Product variants
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
public class BaseConfiguration { | |
public static final String API_URL = "https://someapi.wolox.com.ar"; | |
} |
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
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} |
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
signingConfigs { | |
stage { | |
storeFile file('keystore/stage.keystore') | |
storePassword 'android' | |
keyAlias 'androidandroiddebugkeyDebug' | |
keyPassword 'android' | |
} | |
production { | |
storeFile file('keystore/playstore.keystore') | |
storePassword store_password | |
keyAlias key_alias | |
keyPassword key_password | |
} | |
} |
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 from: 'keystore.gradle' |
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
productFlavors { | |
stage { | |
signingConfig signingConfigs.stage | |
applicationId defaultConfig.applicationId + ".stage" | |
versionName defaultConfig.versionName + "-stage" | |
} | |
production { | |
signingConfig signingConfigs.production | |
} | |
} |
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
public class Configuration extends BaseConfiguration { | |
public static final int ITEMS_PER_PAGE = 5; | |
} |
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
ext.key_alias='playstore' | |
ext.key_password='playstore' | |
ext.store_password='playstore' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment