We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5da9389 commit 0d5d0a9Copy full SHA for 0d5d0a9
app/build.gradle.kts
@@ -130,6 +130,17 @@ android {
130
if (goingelectricKey != null) {
131
resValue("string", "goingelectric_key", goingelectricKey)
132
}
133
+ var nobilKey =
134
+ System.getenv("NOBIL_API_KEY") ?: project.findProperty("NOBIL_API_KEY")?.toString()
135
+ if (nobilKey == null && project.hasProperty("NOBIL_API_KEY_ENCRYPTED")) {
136
+ nobilKey = decode(
137
+ project.findProperty("NOBIL_API_KEY_ENCRYPTED").toString(),
138
+ "FmK.d,-f*p+rD+WK!eds"
139
+ )
140
+ }
141
+ if (nobilKey != null) {
142
+ resValue("string", "nobil_key", nobilKey)
143
144
var openchargemapKey =
145
System.getenv("OPENCHARGEMAP_API_KEY") ?: project.findProperty("OPENCHARGEMAP_API_KEY")
146
?.toString()
0 commit comments