Search Gradle plugins

Version 5.1.9 (latest)

5.1.9

Created 10 October 2024.

A Plugin for easily publishing artifacts on Maven Central

Using the plugins DSL:

plugins {
  id("org.danilopianini.publish-on-central") version "5.1.9"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.danilopianini:publish-on-central:5.1.9")
  }
}

apply(plugin = "org.danilopianini.publish-on-central")

Using the plugins DSL:

plugins {
  id "org.danilopianini.publish-on-central" version "5.1.9"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.danilopianini:publish-on-central:5.1.9"
  }
}

apply plugin: "org.danilopianini.publish-on-central"

Learn how to apply plugins to subprojects