Ben Madore
03/29/2019, 2:21 PMbuildSrc/loadProps.gradle.kts
i have:
val properties = Properties()
val input = FileInputStream(file("../gradle.properties"))
properties.load(input)
input.close()
properties.stringPropertyNames().forEach { key ->
extra.set(key, properties.getProperty(key))
}
i then attempt to apply from buildSrc/build.gradle.kts
apply {
from("loadProps.gradle.kts")
}
and i get a failure on build with:
* What went wrong:
LoadProps_gradle
* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
java.lang.NoClassDefFoundError: LoadProps_gradle