Search Gradle plugins

Version 2.0.0-Beta (latest)

Created 03 October 2024.

Dokka is the API documentation engine for Kotlin. This plugin generates output that looks like Javadoc websites. See https://kotlinlang.org/docs/dokka-html.html for more information. HTML is Dokka's default and recommended output format. It is currently in Beta and approaching the Stable release.

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.jetbrains.dokka") version "2.0.0-Beta"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("org.jetbrains.dokka:org.jetbrains.dokka.gradle.plugin:2.0.0-Beta")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("org.jetbrains.dokka")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.jetbrains.dokka:org.jetbrains.dokka.gradle.plugin:2.0.0-Beta")
      }
    }
    
    apply(plugin = "org.jetbrains.dokka")
  • Applying plugins to all subprojects .