Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.cloudflight.autoconfigure.swagger-api-configure") version "0.12.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.cloudflight.gradle:autoconfigure:0.12.0")
  }
}

apply(plugin = "io.cloudflight.autoconfigure.swagger-api-configure")

Using the plugins DSL:

plugins {
  id "io.cloudflight.autoconfigure.swagger-api-configure" version "0.12.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.cloudflight.gradle:autoconfigure:0.12.0"
  }
}

apply plugin: "io.cloudflight.autoconfigure.swagger-api-configure"

Learn how to apply plugins to subprojects