Search Gradle plugins

Using the plugins DSL:

plugins {
  id "com.figaf.api-management-plugin" version "1.2.RELEASE"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.figaf:api-management-plugin:1.2.RELEASE"
  }
}

apply plugin: "com.figaf.api-management-plugin"

Using the plugins DSL:

plugins {
  id("com.figaf.api-management-plugin") version "1.2.RELEASE"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.figaf:api-management-plugin:1.2.RELEASE")
  }
}

apply(plugin = "com.figaf.api-management-plugin")

Learn how to apply plugins to subprojects