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.

Reply via email to