in build.gradle.kts [124:134]
fun readLocalProperties(): Map<String, String> {
val file = file(rootDir.absolutePath + "/local.properties")
return if (file.exists()) {
file.inputStream().use {
val props = Properties().apply { load(it) }
props.entries.associate { it.key.toString() to it.value.toString() }
}
} else {
emptyMap()
}
}