Closed victorlopezsalazar closed 4 years ago
Maybe I'm missing something but, after the generation the following block has to be included in order to use the jooq generated classes:
sourceSets { main.java.srcDirs += project.layout.buildDirectory.dir("generated-jooq") }
It might be good if the plugin allowed an option to specify the sourceSet where those classes should be included, setting main.java as a default if the java plugin is included as well.
main.java
Ok, I see this is a duplicate of https://github.com/revolut-engineering/jooq-plugin/issues/9. Closing it.
Maybe I'm missing something but, after the generation the following block has to be included in order to use the jooq generated classes:
It might be good if the plugin allowed an option to specify the sourceSet where those classes should be included, setting
main.java
as a default if the java plugin is included as well.