Search Gradle plugins

org.kotools.samples.jvm

Owner: Kotools

Gradle plugin that inlines read-only Kotlin and Java code samples into Dokka documentation, ensuring they are always correct and visible not only online but also in IDEs.

https://github.com/kotools/samples

Sources: https://github.com/kotools/samples

Version 0.1.0

Created 17 November 2024.

Gradle plugin that inlines read-only Kotlin and Java code samples into Dokka documentation, ensuring they are always correct and visible not only online but also in IDEs.

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.kotools.samples.jvm") version "0.1.0"
}

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.kotools.samples.jvm:org.kotools.samples.jvm.gradle.plugin:0.1.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("org.kotools.samples.jvm")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.kotools.samples.jvm:org.kotools.samples.jvm.gradle.plugin:0.1.0")
      }
    }
    
    apply(plugin = "org.kotools.samples.jvm")
  • Applying plugins to all subprojects .