maybe a bit late,
but here is may take on using Liquibase Migrations in a Gradle Project 
together with Jooq Codegen:
- https://github.com/funkrusher/fk-framework-quarkus-jooq

i personally don't really need a plugin for the codegen, as i often want to 
customize many settings, so its 
more conventient for me, to just call a Code-Builder Java-Class from a 
gradle-task that does everything.

see Task "GenerateJooqCode"
- 
https://github.com/funkrusher/fk-framework-quarkus-jooq/blob/main/fk_codegen/build.gradle

and the corresponding Java-Class that does it (with help of testcontainers):
- 
https://github.com/funkrusher/fk-framework-quarkus-jooq/blob/main/fk_codegen/src/main/java/org/fk/generator/JooqCodeGenerator.java
 


Pasha Finkelshtein schrieb am Donnerstag, 22. Februar 2024 um 07:41:37 UTC:

> Hi everybody!
>
> I wanna do the following during my Gradle build:
>
>
>    1. Launch docker (test?) container with postgres
>    2. Run my Liquibase migrations on it
>    3. Regenerate jOOQ code from the database
>    4. Bring the container down
>
> However, I didn't find a working way to launch a (test)container during 
> the build. Did anybody succeed in doing this?
>
> Best,
> Pasha
>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jooq-user/0b45b433-9693-48a5-b861-dd2113687a7cn%40googlegroups.com.

Reply via email to