Skip to content

Commit

Permalink
build.gradle.kts: Fix API key extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
johan12345 committed Nov 5, 2023
1 parent 99b4841 commit 4f268f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ android {
namespace = "net.vonforst.evmap"

// add API keys from environment variable if not set in apikeys.xml
applicationVariants.forEach { variant ->
applicationVariants.all { variant ->
val goingelectricKey =
System.getenv("GOINGELECTRIC_API_KEY") ?: project.findProperty("GOINGELECTRIC_API_KEY")
?.toString()
Expand Down

0 comments on commit 4f268f5

Please sign in to comment.