Search Gradle plugins

Version 1.1.3 (latest)

Created 10 March 2022.

A plugin that allows you to publish to Maven Central with (almost) zero-config

Using the plugins DSL:

plugins {
  id "it.nicolasfarabegoli.publish-to-maven-central" version "1.1.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "it.nicolasfarabegoli:publish-to-maven-central:1.1.3"
  }
}

apply plugin: "it.nicolasfarabegoli.publish-to-maven-central"

Using the plugins DSL:

plugins {
  id("it.nicolasfarabegoli.publish-to-maven-central") version "1.1.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("it.nicolasfarabegoli:publish-to-maven-central:1.1.3")
  }
}

apply(plugin = "it.nicolasfarabegoli.publish-to-maven-central")

Learn how to apply plugins to subprojects