Search Gradle plugins

Version 1.1.4 (latest)

Created 15 October 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.4"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects