Search Gradle plugins

Version 2.1.1 (latest)

Created 02 January 2020.

Gradle Plugin for Swagger core

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.swagger.core.v3:swagger-gradle-plugin:2.1.1"
  }
}

apply plugin: "io.swagger.core.v3.swagger-gradle-plugin"

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.swagger.core.v3:swagger-gradle-plugin:2.1.1")
  }
}

apply(plugin = "io.swagger.core.v3.swagger-gradle-plugin")

Learn how to apply plugins to subprojects