Skip to content

Commit e8010ce

Browse files
committed
Network Module BuildConfigFields Null Check
1 parent 8092c60 commit e8010ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/network/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ val backendUrl = providers.fileContents(
6161

6262
androidComponents {
6363
onVariants {
64-
it.buildConfigFields.put("BACKEND_URL", backendUrl.map { value ->
64+
it.buildConfigFields?.put("BACKEND_URL", backendUrl.map { value ->
6565
BuildConfigField(type = "String", value = """"$value"""", comment = null)
6666
})
6767
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
accompanist = "0.37.0"
33
androidDesugarJdkLibs = "2.1.4"
44
# AGP and tools should be updated together
5-
androidGradlePlugin = "8.9.0"
5+
androidGradlePlugin = "8.11.1"
66
androidTools = "31.9.0"
77
androidxActivity = "1.9.3"
88
androidxAppCompat = "1.7.0"

0 commit comments

Comments
 (0)