Search Gradle plugins

Version 2.2.0-rc3-dev-59 (latest)

Created 02 July 2025.

Plugin that allows configuring maven publications with less code, especially for multi-module libraries.

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.jetbrains.kotlin.libs.publisher") version "2.2.0-rc3-dev-59"
}

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