File tree Expand file tree Collapse file tree
modules/openapi-generator-gradle-plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,12 +40,23 @@ compileJava.dependsOn tasks.openApiGenerate
4040
4141== Plugin Setup
4242
43+ [source,group]
44+ ----
45+ plugins {
46+ id "org.openapi.generator" version "4.0.1"
47+ }
48+ ----
49+
50+ Using https://docs.gradle.org/current/userguide/plugins.html#sec:old_plugin_application[legacy plugin application]:
51+
4352[source,groovy]
4453----
4554buildscript {
4655 repositories {
4756 mavenLocal()
4857 mavenCentral()
58+ // or, via Gradle Plugin Portal:
59+ // url "https://plugins.gradle.org/m2/"
4960 }
5061 dependencies {
5162 classpath "org.openapitools:openapi-generator-gradle-plugin:4.0.1"
@@ -55,11 +66,6 @@ buildscript {
5566apply plugin: 'org.openapi.generator'
5667----
5768
58- [NOTE]
59- ====
60- The gradle plugin is not currently published to https://plugins.gradle.org/m2/.
61- ====
62-
6369== Configuration
6470
6571=== openApiGenerate
You can’t perform that action at this time.
0 commit comments