Search Gradle plugins

Using the plugins DSL:

plugins {
  id("ch.tutteli.dokka") version "0.29.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("ch.tutteli:tutteli-gradle-dokka:0.29.0")
  }
}

apply(plugin = "ch.tutteli.dokka")

Using the plugins DSL:

plugins {
  id "ch.tutteli.dokka" version "0.29.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "ch.tutteli:tutteli-gradle-dokka:0.29.0"
  }
}

apply plugin: "ch.tutteli.dokka"

Learn how to apply plugins to subprojects