-
Notifications
You must be signed in to change notification settings - Fork 29
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
Support a feature flag to disable generating unchanged files #20
Comments
Note that in vanilla jOOQ, you can configure all of these things, see: |
I may be missing something. |
I'm not affiliated with this plugin, just thought this might help. From the readme, I'd expect the See: https://github.com/revolut-engineering/jooq-plugin/blob/master/README.md |
Yes, this is how I had a reference to the
to close the loop on this one, I was able to set the
Thank you! I appreciate your input and time. |
You can do it like that: tasks {
generateJooqClasses {
customizeGenerator {
generate.generatedSerialVersionUID = org.jooq.meta.jaxb.GeneratedSerialVersionUID.HASH
}
}
} Btw, this plugin seems to be abandoned, so I forked it and published it under a new group. It's available here: https://plugins.gradle.org/plugin/dev.monosoul.jooq-docker ( https://github.com/monosoul/jooq-gradle-plugin ) |
Every-time I generate JOOQ using the plugin, it generates unnecessary changes with new
date
andserialVersionUid
.These changes are superficial and I always end up inspecting them one by one and discarding them.
I am requesting a feature flag. When enabled, it would avoid generating these files (that has no real changes) and as a result wouldn't need committed.
The text was updated successfully, but these errors were encountered: