mirror of
https://github.com/hmalik144/Weather-apps.git
synced 2026-03-18 07:26:04 +00:00
patched properties
Took 7 minutes
This commit is contained in:
@@ -21,7 +21,9 @@ android {
|
|||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
|
|
||||||
Properties properties = new Properties()
|
Properties properties = new Properties()
|
||||||
|
if (project.rootProject.file('local.properties').canRead()) {
|
||||||
properties.load(project.rootProject.file('local.properties').newDataInputStream())
|
properties.load(project.rootProject.file('local.properties').newDataInputStream())
|
||||||
|
}
|
||||||
|
|
||||||
String weather_key = properties.getProperty('WEATHER_API') ?: ${WEATHER_API}
|
String weather_key = properties.getProperty('WEATHER_API') ?: ${WEATHER_API}
|
||||||
String search_key = properties.getProperty('WEATHER_API') ?: ${SEARCH_API}
|
String search_key = properties.getProperty('WEATHER_API') ?: ${SEARCH_API}
|
||||||
|
|||||||
Reference in New Issue
Block a user