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: docs/modules/ROOT/pages/index.adoc
+32-34Lines changed: 32 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,11 @@ a Gradle plugin based on the link:{oap-api}[openapi-processor-api] to handle any
27
27
| minimum Gradle version
28
28
| minimum Java version
29
29
30
-
| 2026.x, 2025.x
30
+
| 2026.2+
31
+
| 8.7+
32
+
| 17
33
+
34
+
| 2026.1, 2025.x
31
35
| 8.2+ with kotlin dsl +
32
36
7.2+ with groovy dsl
33
37
| 17
@@ -47,7 +51,7 @@ NOTE: In case the generated source should be formatted with google code format,
47
51
48
52
== Gradle dsl
49
53
50
-
An xref:spring:ROOT:index.adoc[openapi-processor-spring] spring specific description is available in xref:spring:ROOT:gradle.adoc[Gradle Integration].
54
+
// An xref:spring:ROOT:index.adoc[openapi-processor-spring] spring specific description is available in xref:spring:ROOT:gradle.adoc[Gradle Integration].
51
55
52
56
The plugin adds a new configuration block `openapiProcessor` to the Gradle project. Each processor is configurable by a nested configuration block.
53
57
@@ -164,33 +168,15 @@ openapiProcessor {
164
168
165
169
The configuration of a single processor has a few pre-defined properties, and it can have any number of additional parameters defined by the processor. All options will be passed in a map to the processor with the option name as the key.
166
170
167
-
* `processor` (mandatory): the `processor` dependency. Uses the same dependency notations allowed in the gradle `dependencies` block.
168
-
+
169
-
The processor library is configured here to avoid any side effect on the build dependencies of the project.
It is possible to use multiple `processor` entries to control the dependencies of an openapi-processor.
205
+
It is possible to use multiple `process` entries to control the dependencies of an openapi-processor.
217
206
+
218
207
For example, the java generating processors depend on `openapi-processor-core`. The `core` library provides most of the logic of a processor, and it is usually enough to update the `core` library to get bugfixes or new features.
219
208
+
220
209
[NOTE]
221
210
====
222
211
To find 'SNAPSHOT' versions, the plugin automatically adds the snapshot repository to the `repositories`.
223
212
224
-
[.badge .badge-since]+since 2022.2+ In case you don't want this, it is possible to disable adding the snapshot repository by adding `openapi-processor-gradle.snapshots = false` to `gradle.properties`).
213
+
In case you don't want this, it is possible to disable adding the snapshot repository by adding `openapi-processor-gradle.snapshots = false` to `gradle.properties`).
0 commit comments