Network Module BuildConfigFields Null Check

pull/1942/head
jun011026 3 weeks ago
parent 8092c60c0f
commit e8010ce4fe

@ -61,7 +61,7 @@ val backendUrl = providers.fileContents(
androidComponents {
onVariants {
it.buildConfigFields.put("BACKEND_URL", backendUrl.map { value ->
it.buildConfigFields?.put("BACKEND_URL", backendUrl.map { value ->
BuildConfigField(type = "String", value = """"$value"""", comment = null)
})
}

@ -2,7 +2,7 @@
accompanist = "0.37.0"
androidDesugarJdkLibs = "2.1.4"
# AGP and tools should be updated together
androidGradlePlugin = "8.9.0"
androidGradlePlugin = "8.11.1"
androidTools = "31.9.0"
androidxActivity = "1.9.3"
androidxAppCompat = "1.7.0"

Loading…
Cancel
Save