Thank you very much for your report. That's a documentation bug. I've
created an issue for this:
https://github.com/jOOQ/jOOQ/issues/7637

Please use the syntax as suggested by the third party plugin

Am Fr., 29. Juni 2018 um 18:14 Uhr schrieb Manuel Rossetti <
[email protected]>:

> In looking at the manuals, all the gradle code generation examples use the
> word "configuration" to define the configuration. From page 278 of the
> manual:
>
> configuration {
> generator {
> database {
> name = 'org.jooq.util.ddl.DDLDatabase'
> properties {
> property {
> key = 'scripts'
> value = 'src/main/resources/database.sql'
> }
> }
> }
> }
> }
>
> However, the word "configuration" does not seem to be part of the 3rd
> party jooq gradle plugin.
> <https://github.com/etiennestuder/gradle-jooq-plugin>  So, am I missing
> something here.  Is it possible to use the syntax described in the
> *manual* without the 3rd party plugin.  And, if so how?
>
>
> jooq {
>     dependencies{
>         jooqRuntime group: 'org.jooq', name: 'jooq-meta-extensions', version: 
> '3.10.4'
>     }
>     sample(sourceSets.main) {
> //        configuration {
>             generator {
>                 database {
>                     name = 'org.jooq.util.ddl.DDLDatabase'
>                     properties {
>                         property {
>                             key = 'scripts'
>                             value = 'dbScripts/JSLDb copy.sql'
>                         }
>                     }
>                 }
>                 target {
>                     packageName = 'testgen'
>                     directory = 'src/main/java'
>                 }
>  //           }
>        }
>     }
> }
>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to