Groovy DSL support for generator customizer
adrianskrobaczrevolut
released this
12 Jul 14:45
·
69 commits
to master
since this release
generatorCustomizer
task property is now Groovy friendly!
What previously had to be written as:now can be done in the closure directly in the task:tasks { generateJooqClasses(new MyCustomizer()) } class MyCustomizer implements GeneratorCustomizer { @Override void execute(final Generator generator) { generator.database.withForcedTypes(...) } }
tasks { generateJooqClasses { it.database.withForcedTypes(...) } }
- New
excludeFlywayTable
task property to exclude theflyway_schema_history
from generated classes:tasks { generateJooqClasses { excludeFlywayTable = true } }