Search Gradle plugins

Version 1.7.4 (latest)

Created 03 August 2017.

Swagger code generator

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.detoeuf.swagger-codegen") version "1.7.4"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("org.detoeuf.swagger-codegen:org.detoeuf.swagger-codegen.gradle.plugin:1.7.4")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("org.detoeuf.swagger-codegen")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.detoeuf.swagger-codegen:org.detoeuf.swagger-codegen.gradle.plugin:1.7.4")
      }
    }
    
    apply(plugin = "org.detoeuf.swagger-codegen")
  • Applying plugins to all subprojects .