micronaut-starter icon indicating copy to clipboard operation
micronaut-starter copied to clipboard

Apply official jOOQ gradle plugin when adding the jOOQ feature. [skip ci]

Open wetted opened this issue 1 year ago • 3 comments

closes #2228

wetted avatar Dec 18 '23 21:12 wetted

This still needs work. The jooq gradle plugin fails if the buiild doesn't define jooq { configuration { database {} } }.

wetted avatar Dec 18 '23 21:12 wetted

This PR needs two things:

  • [ ] apply the jooq gradle plugin iff both the jooq feature and a configurable database feature are selected
  • [ ] create a rocker template to contribute the jooq {} configuration to the build (otherwise the build fails)

wetted avatar Dec 19 '23 17:12 wetted

I haven't yet figured out how to do the Flyway generation from the joog-gradle-plugin.

I have a personal playground project for this at: https://github.com/wetted/jooq-gradle.git

wetted avatar May 06 '24 17:05 wetted