Is there a way to share variables between kotlin g...
# gradle
s
Is there a way to share variables between kotlin gradle scripts in a strongly typed way? In groovy I'm used to setting my
kotlin_version
in
gradle.properties
, or in an
ext
block. Groovy provides a nice syntax for accessing that data, and I'm hoping that the kotlin-gradle-dsl offers a method where I can achieve an API that's just as nice. Right now all that I've found is pulling things from
ext
with
String
keys, or some other means of pulling data in a weakly typed way from a map. Surely the Kotlin DSL has a better way of solving this?