Skip to content

Commit 1e16693

Browse files
committed
Escape empty strings
1 parent d08190f commit 1e16693

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ android {
1111

1212
// Postman mocking setup pulled from local.properties
1313
val localProps = gradleLocalProperties(rootDir)
14-
val exampleDefaultUrl: String = localProps.getProperty("exampleDefaultUrl", "")
14+
val exampleDefaultUrl: String = localProps.getProperty("exampleDefaultUrl", "\"\"")
1515

1616
defaultConfig {
1717
applicationId = "com.steamclock.steamock"

lib-core/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ android {
3939

4040
// Postman mocking setup pulled from local.properties
4141
val localProps = gradleLocalProperties(rootDir)
42-
val postmanAccessKey: String = localProps.getProperty("postmanAccessKey", "")
43-
val postmanMockCollectionId: String = localProps.getProperty("postmanCollectionId", "")
44-
val postmanMockServerUrl: String = localProps.getProperty("postmanMockServerUrl", "")
42+
val postmanAccessKey: String = localProps.getProperty("postmanAccessKey", "\"\"")
43+
val postmanMockCollectionId: String = localProps.getProperty("postmanCollectionId", "\"\"")
44+
val postmanMockServerUrl: String = localProps.getProperty("postmanMockServerUrl", "\"\"")
4545

4646
defaultConfig {
4747
minSdk = 24

0 commit comments

Comments
 (0)