Hey guys, is it possible to parse application.conf...
# ktor
f
Hey guys, is it possible to parse application.conf inside gradle.kts somehow?
b
Sure, just add any hocon java lib to buildSrc and parse it like in any other java app
f
Thank you, I meant inside build.gradle.kts not in buildSrc? But i doubt it makes a difference to what you've said since it's the same?
b
Well you declare dependencies in buildSrc to make them available in your buildscripts
f
For those who would parse them in the future, make sure you remove prefix and suffix double quotes as it does parse them as strings but with additional quotes