Skip to content

Instantly share code, notes, and snippets.

@ckdevrel
Last active February 9, 2018 07:07
Show Gist options
  • Save ckdevrel/52144babe65f6f5d5b23658457cee8e9 to your computer and use it in GitHub Desktop.
Save ckdevrel/52144babe65f6f5d5b23658457cee8e9 to your computer and use it in GitHub Desktop.
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt')
, 'proguard-rules.pro'
}
applicationVariants.all { variant ->
variant.buildConfigField "String", "GOOGLE_MAPS_API_KEY"
, "\""+getApiKey()+"\""
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment