You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-10Lines changed: 12 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ For each named jOOQ configuration declared in the build, the plugin adds a task
14
14
generated Java sources in the matching source set, if existing. The code generation tasks participate
15
15
in [task configuration avoidance](https://docs.gradle.org/current/userguide/task_configuration_avoidance.html),
16
16
in [build configuration caching](https://docs.gradle.org/nightly/userguide/configuration_cache.html),
17
-
in [incremental builds](https://docs.gradle.org/current/userguide/more_about_tasks.html#sec:up_to_date_checks),
17
+
in [incremental builds](https://docs.gradle.org/current/userguide/incremental_build.html),
18
18
in [task output caching](https://docs.gradle.org/current/userguide/build_cache.html),
19
19
and in [toolchains](https://docs.gradle.org/current/userguide/toolchains.html). The plugin can be applied on both Java projects and Android projects.
20
20
@@ -39,9 +39,8 @@ The following functionality is provided by the jOOQ plugin:
39
39
40
40
The following Gradle configuration changes are contributed by the jOOQ plugin:
41
41
42
-
* Add the `org.jooq:jooq-codegen` dependency needed to execute the jOOQ code generation tool to the new `jooqGenerate` configuration
43
-
* Add the `org.jooq:jooq` dependency to the name-matching `implementation` configuration to successfully compile the Java sources generated from the database schema
44
-
* Use the customizable jOOQ version across all resolved `org.jooq*:jooq*` dependencies
42
+
* Add the `<edition>:jooq-codegen:<version>` dependency needed to execute the jOOQ code generation tool to the new `jooqGenerate` configuration
43
+
* Add the `<edition>:jooq:<version>` dependency to the name-matching `implementation` configuration to successfully compile the Java sources generated from the database schema
45
44
46
45
The following Gradle features are supported by the jOOQ plugin:
47
46
@@ -109,9 +108,11 @@ dependencies {
109
108
110
109
## Specifying the jOOQ version and edition
111
110
112
-
Specify the version and [edition](https://github.com/etiennestuder/gradle-jooq-plugin/blob/master/src/main/groovy/nu/studer/gradle/jooq/JooqEdition.java)that should be applied to all jOOQ dependencies that are declared in your project either explicitly or pulled in transitively.
111
+
Specify the version and [edition](https://github.com/etiennestuder/gradle-jooq-plugin/blob/master/src/main/groovy/nu/studer/gradle/jooq/JooqEdition.java)of the jOOQ dependencies automatically added by the plugin.
113
112
114
-
Note that the `org.jooq:jooq` dependency of the specified version and edition is automatically added to the `implementation` configuration of the source set that matches the name of the declared jOOQ configuration.
113
+
The `<edition>:jooq-codegen:<version>` dependency of the specified version and edition is automatically added to the `jooqGenerator` configuration.
114
+
115
+
The `<edition>:jooq:<version>` dependency of the specified version and edition is automatically added to the `implementation` configuration of the source set that matches the name of the declared jOOQ configuration, if any.
115
116
116
117
### Gradle Groovy DSL
117
118
@@ -133,15 +134,16 @@ jooq {
133
134
134
135
## Enforcing the jOOQ configuration XML schema version
135
136
136
-
Enforce a certain version of the jOOQ configuration XML schema by declaring what version of the jOOQ code generation tool to
137
-
make available to the jOOQ plugin at configuration time, i.e. in the DSL of the jOOQ plugin.
137
+
Enforce a certain version of the jOOQ configuration XML schema that is different to the default version and edition
138
+
configured by the jOOQ plugin by declaring what version of the jOOQ code generation tool to make available to the
139
+
jOOQ plugin at configuration time, i.e. in the DSL of the jOOQ plugin.
0 commit comments