kotlin-dsl-gradle-jooq-plugin
kotlin-dsl-gradle-jooq-plugin copied to clipboard
Weird way to specify `jooqCodegenConfiguration`
Current way to specify a jooq configuration is something like:
configuration("", ...) {
configuration = jooqCodegenConfiguration {
....
}
}
Whereas all other places of configuration looks like:
jdbc {
}
generator {
}
The first example looks really bad and completely out of sync with how everything else is written.
Does it mean the following block should be totally removed?
configuration = jooqCodegenConfiguration {
....
}
And we should be able to use something like this:
configuration("", ...) {
jdbc {
....
}
generator {
...
}
}