Skip to content

Instantly share code, notes, and snippets.

@ShurikuS57
Created March 6, 2017 13:03
Show Gist options
  • Save ShurikuS57/bcd9f9d81c144834383d88360e0c8678 to your computer and use it in GitHub Desktop.
Save ShurikuS57/bcd9f9d81c144834383d88360e0c8678 to your computer and use it in GitHub Desktop.
defaultConfig {
.....
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
def apiKey = properties.getProperty('api.key')
resValue "string", "API_KEY", apiKey
}
api.key = "04e0f542ya38a58461a44fbd11a89530"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment