Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects