mkobit
01/06/2017, 9:30 PMtest
task - https://github.com/gradle/gradle-script-kotlin/issues/34 is open for making that easier.
i added a comment at https://github.com/gradle/gradle-script-kotlin/issues/34#issuecomment-247497512 about some of the things i tried with configuring a task
object.
i think you could do something like (project.tasks.getByName(”myTask”)!! as Test).apply { // config }