Hi all, I’m trying  to add on my build.gradle.kts...
# getting-started
s
Hi all, I’m trying  to add on my build.gradle.kts this command
buildConfigField("String", apiKey, "123abc")
but I received this error: “Unresolved reference: buildConfigField ” All the example that I found put the command  in Android{ … } but I’m not doing an android app, only a simple web service. Do you have any idea ho I could resolve the problem? thanks
m
try asking directly in #gradle
👍 1
r
you have to escape “123abc” “\”123abc\“”
and use “apiKey”