Search Gradle plugins

org.jetbrains.kotlinx.knit

Produces Kotlin source example files and tests from markdown documents with embedded snippets of Kotlin code

https://github.com/Kotlin/kotlinx-knit

Version 0.3.0-dev1 (latest)

Created 28 May 2021.

Produces Kotlin source example files and tests from markdown documents with embedded snippets of Kotlin code

Using the plugins DSL:

plugins {
  id "org.jetbrains.kotlinx.knit" version "0.3.0-dev1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.jetbrains.kotlinx:kotlinx-knit:0.3.0-dev1"
  }
}

apply plugin: "org.jetbrains.kotlinx.knit"

Using the plugins DSL:

plugins {
  id("org.jetbrains.kotlinx.knit") version "0.3.0-dev1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.jetbrains.kotlinx:kotlinx-knit:0.3.0-dev1")
  }
}

apply(plugin = "org.jetbrains.kotlinx.knit")

Learn how to apply plugins to subprojects