https://kotlinlang.org logo
Title
e

Exerosis

09/26/2020, 3:11 PM
How does kotlin gradle dsl generate... I guess the ability to use extensions like tasks.jar?
g

gildor

09/26/2020, 3:17 PM
What do you mean exactly? It uses configuration time information about available tasks/extensions/configurations and generate Kotlin code with type-safe accessors
e

Exerosis

09/26/2020, 8:56 PM
Well like, if I use apply<SomePlugin>() that doesn't work in a typeasfe way... UNLESS I do it in a subprojects block in a superproject.
I don't really understand why that would be
g

gildor

09/27/2020, 2:36 PM
Apply doesn't generate accessors, only applying plugin in plugins block