Class JooqPlugin

java.lang.Object
nu.studer.gradle.jooq.JooqPlugin
All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>

public class JooqPlugin extends Object implements org.gradle.api.Plugin<org.gradle.api.Project>
Plugin that extends the java-base plugin and registers a JooqGenerate task for each defined jOOQ configuration. Each task generates the jOOQ source code from the configured database. The tasks properly participate in the Gradle up-to-date checks. The tasks are wired as dependencies of the compilation tasks of the JavaBasePlugin plugin.
  • Constructor Details

    • JooqPlugin

      public JooqPlugin()
  • Method Details

    • apply

      public void apply(org.gradle.api.Project project)
      Specified by:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>