Search Gradle plugins

Version 1.0.1 (latest)

Created 20 September 2018.

Generate swagger.json from annotated RESTful Java classes

Using the plugins DSL:

plugins {
  id "com.tha2015.swagger-gradle-plugin" version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.tha2015.swagger-gradle-plugin:swagger-gradle-plugin:1.0.1"
  }
}

apply plugin: "com.tha2015.swagger-gradle-plugin"

Using the plugins DSL:

plugins {
  id("com.tha2015.swagger-gradle-plugin") version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.tha2015.swagger-gradle-plugin:swagger-gradle-plugin:1.0.1")
  }
}

apply(plugin = "com.tha2015.swagger-gradle-plugin")

Learn how to apply plugins to subprojects