Hello,
I am trying to use the Jooq Generator Plugin with the Kotlin DSL. In the examples for groovy syntax, there is the block
sourceSets.main.java.srcDirs (
tasks.named('generateFirstJooq').flatMap { it.outputDir },
tasks.named('generateSecondJooq').flatMap { it.outputDir }
)
I was trying to re-write this in Kotlin, but I can’t seem to access the outputDir property. Does anyone know what the equivalent syntax would be in the Kotlin DSL?
This is the link to the full build.gradle
file: gradle-jooq-plugin/build.gradle at main · etiennestuder/gradle-jooq-plugin · GitHub
Thanks!