diff --git a/jsonschema2pojo-gradle-plugin/README.md b/jsonschema2pojo-gradle-plugin/README.md index 75ecbe7f0..fa26be07c 100644 --- a/jsonschema2pojo-gradle-plugin/README.md +++ b/jsonschema2pojo-gradle-plugin/README.md @@ -8,6 +8,8 @@ This Gradle plugin is hosted on both Maven Central and the [Gradle Plugin Portal ## Usage +For Gradle 7.3 and later, you can use the plugins DSL: + With Groovy: ```groovy @@ -34,6 +36,9 @@ jsonSchema2Pojo { } ``` +For Gradle 7.2.x and older, there is a [bug related to the application order of plugins](https://github.com/gradle/gradle/issues/15664) so you must use [legacy plugin application](https://plugins.gradle.org/plugin/org.jsonschema2pojo). + + Below we have a full build.gradle example, showing all available configuration options: ```groovy