https://kotlinlang.org logo
Title
p

pavlospt

09/03/2018, 12:57 PM
Hey anyone familiar with Kotlin DSL maybe knows if I can reference
ext
properties in another module’s
build.gradle.kts
?
g

gildor

09/03/2018, 12:57 PM
#gradle
👍 3
But it should work exactly the same as with Groovy, as I know. In Gradle Groovy you hav access to ext properties of another module if has access to this module object
👍 1
p

pavlospt

09/03/2018, 12:58 PM
Thank you will ask there as well if I can not make it work 🙂
d

dwursteisen

09/03/2018, 2:11 PM
I did it here: https://github.com/dwursteisen/libgdx-addons/blob/master/ashley-addons/build.gradle.kts // now it's named
extra
and it use delegate.
p

pavlospt

09/03/2018, 2:17 PM
Thank you will check it 🙂