Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automatically generated classes to a SourceSet. #11

Closed
victorlopezsalazar opened this issue May 23, 2020 · 1 comment
Closed

Add automatically generated classes to a SourceSet. #11

victorlopezsalazar opened this issue May 23, 2020 · 1 comment

Comments

@victorlopezsalazar
Copy link

victorlopezsalazar commented May 23, 2020

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.

@victorlopezsalazar
Copy link
Author

victorlopezsalazar commented May 23, 2020

Ok, I see this is a duplicate of #9. Closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant