Search Gradle plugins

Version 0.2.0 (latest)

Created 31 January 2023.

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects