Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.kordamp.gradle.apidoc") version "0.5.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.kordamp.gradle:apidoc-gradle-plugin:0.5.0")
  }
}

apply(plugin = "org.kordamp.gradle.apidoc")

Using the plugins DSL:

plugins {
  id "org.kordamp.gradle.apidoc" version "0.5.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.kordamp.gradle:apidoc-gradle-plugin:0.5.0"
  }
}

apply plugin: "org.kordamp.gradle.apidoc"

Learn how to apply plugins to subprojects