Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.kordamp.gradle.groovydoc") version "0.49.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "org.kordamp.gradle.groovydoc" version "0.49.0"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects