Search Gradle plugins

Version 1.5.0 (latest)

Created 03 February 2024.

Configures sources and Javadoc (KDoc) jars for Kotlin JVM, JS and MPP projects

Using the plugins DSL:

plugins {
  id("org.hildan.kotlin-publish") version "1.5.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.hildan.gradle:gradle-kotlin-publish-plugin:1.5.0")
  }
}

apply(plugin = "org.hildan.kotlin-publish")

Using the plugins DSL:

plugins {
  id "org.hildan.kotlin-publish" version "1.5.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.hildan.gradle:gradle-kotlin-publish-plugin:1.5.0"
  }
}

apply plugin: "org.hildan.kotlin-publish"

Learn how to apply plugins to subprojects