Search Gradle plugins

Version 1.0.0.M5.DEPRECATED (latest)

Created 15 June 2020.

Deprecated. Superseded by com.github.hauner.openapi-processor. (plugin to run openapi-generatr-x generators, e.g. openapi-generatr-spring (requires gradle 5.2+)).

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.github.hauner.openapi-generatr") version "1.0.0.M5.DEPRECATED"
}

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("com.github.hauner.openapi-generatr:com.github.hauner.openapi-generatr.gradle.plugin:1.0.0.M5.DEPRECATED")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.github.hauner.openapi-generatr")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.github.hauner.openapi-generatr:com.github.hauner.openapi-generatr.gradle.plugin:1.0.0.M5.DEPRECATED")
      }
    }
    
    apply(plugin = "com.github.hauner.openapi-generatr")
  • Applying plugins to all subprojects .