Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.kordamp.gradle.scaladoc") version "0.31.1"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "org.kordamp.gradle.scaladoc" version "0.31.1"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects