Skip to content

Instantly share code, notes, and snippets.

@tonespy
Last active March 3, 2017 14:30
Show Gist options
  • Select an option

  • Save tonespy/38abbf7183499fadd53094507073f6c7 to your computer and use it in GitHub Desktop.

Select an option

Save tonespy/38abbf7183499fadd53094507073f6c7 to your computer and use it in GitHub Desktop.
Gradle Build, build types
signingConfigs {
debug {
print(file(keystoreProperties['storeFile']))
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
release {
print(file(keystoreProperties['storeFile']))
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
minifyEnabled false
multiDexEnabled true
signingConfig signingConfigs.release
manifestPlaceholders = [crashlyticsApiKey: keystoreProperties['fabric_api_key']]
ext.betaDistributionReleaseNotes="-- First live build"
ext.betaDistributionGroupAliases="Group-Release"
ext.betaDistributionNotifications=true
}
debug {
applicationIdSuffix ".dev"
versionNameSuffix "-dev"
minifyEnabled false
multiDexEnabled true
signingConfig signingConfigs.debug
manifestPlaceholders = [crashlyticsApiKey: keystoreProperties['fabric_api_key']]
ext.betaDistributionReleaseNotes="-- First debug build"
ext.betaDistributionGroupAliases="Group-Testers"
ext.betaDistributionNotifications=true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment