Isaac
09/18/2020, 11:10 AMgradle.properties
file and got a reference in the build.gradle.kts
file by declaring a global property:
val api_key: String by project
. I want to use api_key
in my Main.kt
, but I can't seem to figure out how to gain access. Searched on StackOverflow and all the results were android related. Can anyone help?diesieben07
09/18/2020, 11:12 AMIsaac
09/18/2020, 11:14 AMspand
09/18/2020, 11:26 AMmserralta
09/18/2020, 11:29 AM