Gradle jOOQ plugin

jOOQ codegen for Gradle.

Лицензия

Лицензия

Категории

Категории

Gradle Компиляция и сборка jOOQ Данные Базы данных
Группа

Группа

com.github.ben-manes
Идентификатор

Идентификатор

gradle-jooq-plugin
Последняя версия

Последняя версия

0.6
Дата

Дата

Тип

Тип

jar
Описание

Описание

Gradle jOOQ plugin
jOOQ codegen for Gradle.
Ссылка на сайт

Ссылка на сайт

https://github.com/ben-manes/gradle-jooq-plugin
Система контроля версий

Система контроля версий

https://github.com/ben-manes/gradle-jooq-plugin

Скачать gradle-jooq-plugin

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.ben-manes/gradle-jooq-plugin/ -->
<dependency>
    <groupId>com.github.ben-manes</groupId>
    <artifactId>gradle-jooq-plugin</artifactId>
    <version>0.6</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.ben-manes/gradle-jooq-plugin/
implementation 'com.github.ben-manes:gradle-jooq-plugin:0.6'
// https://jarcasting.com/artifacts/com.github.ben-manes/gradle-jooq-plugin/
implementation ("com.github.ben-manes:gradle-jooq-plugin:0.6")
'com.github.ben-manes:gradle-jooq-plugin:jar:0.6'
<dependency org="com.github.ben-manes" name="gradle-jooq-plugin" rev="0.6">
  <artifact name="gradle-jooq-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.ben-manes', module='gradle-jooq-plugin', version='0.6')
)
libraryDependencies += "com.github.ben-manes" % "gradle-jooq-plugin" % "0.6"
[com.github.ben-manes/gradle-jooq-plugin "0.6"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.jooq : jooq-meta jar 3.1.0
org.jooq : jooq-codegen jar 3.1.0

test (1)

Идентификатор библиотеки Тип Версия
org.spockframework : spock-core jar 0.7-groovy-1.8

Модули Проекта

Данный проект не имеет модулей.

Gradle jOOQ Plugin (deprecated)

jOOQ 3.2 includes an official plugin based on this one.

jOOQ generates a simple Java representation of your database schema. Every table, view, stored procedure, enum, UDT is a class. This plugin performs code generation as part of the Gradle build.

Usage

This plugin is hosted on the Maven Central Repository. All actions are logged at the info level.

The configuration is defined as an XML DSL based on jOOQ's codegen schema. The default target directory is updated to reflect Gradle's build directory (build/generated-sources/jooq).

apply plugin: 'jooq'

buildscript {
  repositories {
    mavenCentral()
  }
  
  dependencies {
    classpath 'com.github.ben-manes:gradle-jooq-plugin:0.5'
  }
}

jooq {
  jdbc {
    url 'jdbc:mysql://localhost:3306'
    driver 'com.mysql.jdbc.Driver'
    user 'root'
  }
  generator {
    database {
      name 'org.jooq.util.mysql.MySQLDatabase'
      inputSchema 'example'
      includes '.*'
    }
  }
}

Tasks

generateJooq

Executes the jOOQ code generator.

Версии библиотеки

Версия
0.6
0.5
0.4
0.3
0.2
0.1