revolut-engineering / jooq-plugin

Plugin for generating jOOQ classes using dockerized databases
Apache License 2.0
72 stars 28 forks source link

Manual version update of jooq and flyway #14

Open encodeering opened 3 years ago

encodeering commented 3 years ago

Hey,

can see that you are working on a way to make this configurable in #10. Is there any change to get an updated version for jooq and flyway in the meantime?

Not asking for a particular change in any of the libraries, but they have done quite some work over the last iterations

https://flywaydb.org/documentation/learnmore/releaseNotes https://www.jooq.org/notes

https://mvnrepository.com/artifact/org.flywaydb/flyway-core/7.5.0 https://mvnrepository.com/artifact/org.jooq/jooq/3.14.4

Many thanks in advance.

encodeering commented 3 years ago

It seems that flyway 7.x introduced signature changes that would require a recompilation of the plugin, e.g.

https://github.com/flyway/flyway/commit/fc0f628a3b005b2026a01e7a0b88ec1c6699b6c4#diff-59e44f153051ce6261aa5ff0cb3120d6823dda25ddab4a3dccf12c0c1cfd806aL161

monosoul commented 2 years ago

Hey @encodeering , with the new version of the plugin you can now specify Flyway and Jooq versions to use: https://github.com/monosoul/jooq-gradle-plugin

Of course there are compatibility limitations, since it uses reflection to achieve that, but I confirmed it to work with the last 3 major Jooq releases (3.16.6, 3.15.10, 3.14.15) and multiple Flyway releases (8.5.12, 8.4.4, 8.0.5, 7.15.0)

encodeering commented 2 years ago

hey @monosoul,

I just saw it, sounds great, thanks for implementing this feature. am currently not working on the project to give it a try and feedback, but definitely will, really like your plugin

cheers