patched app.gradle

Took 6 minutes
This commit is contained in:
2022-06-10 00:04:54 +01:00
parent 4faa3177f2
commit 760e06242b

View File

@@ -23,8 +23,11 @@ android {
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
buildConfigField "String", "ParamOne", "\"${properties.getProperty('WEATHER_API')}\""
buildConfigField "String", "ParamTwo", "\"${properties.getProperty('SEARCH_API')}\""
String weather_key = properties.getProperty('WEATHER_API') ?: ${WEATHER_API}
String search_key = properties.getProperty('WEATHER_API') ?: ${SEARCH_API}
buildConfigField "String", "ParamOne", weather_key
buildConfigField "String", "ParamTwo", search_key
}
android {
sourceSets{