Search Gradle plugins

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.swagger.core.v3.swagger-gradle-plugin") version "2.1.1"
}

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.swagger.core.v3:swagger-gradle-plugin:2.1.1")
      }
    }
    
    apply(plugin = "io.swagger.core.v3.swagger-gradle-plugin")
  • Applying plugins to all subprojects .