Search Gradle plugins

Version 1.0-SNAPSHOT (latest)

Created 24 August 2019.

Gradle plugin to easily set up publishing to maven central

Add this plugin to your build using the plugins DSL:

plugins {
  id("me.tatarka.maven-central-publish") version "1.0-SNAPSHOT"
}

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