need help with one thing :slightly_smiling_face: h...
# android
a
need help with one thing 🙂 how to declare a closure for gradle extension within kotlin extension class? i.e. I wanna use in gradle file: my_ext { action { s, m -> s.transform(m).join(”\n”) } } and I have a kotlin extension class: open class MyExtension { open lateinit var action: Closure<String> // does it? or something better? }