Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.jetbrains.dokka") version "0.9.12-dev-1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.jetbrains.dokka:gradle-plugin:0.9.12-dev-1")
  }
}

apply(plugin = "org.jetbrains.dokka")

Using the plugins DSL:

plugins {
  id "org.jetbrains.dokka" version "0.9.12-dev-1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.jetbrains.dokka:gradle-plugin:0.9.12-dev-1"
  }
}

apply plugin: "org.jetbrains.dokka"

Learn how to apply plugins to subprojects