Search Gradle plugins

net.ormr.maven-central-publish

Configure publication to Maven Central for Gradle projects with minimal effort.

https://github.com/Olivki/maven-central-publish

Sources: https://github.com/Olivki/maven-central-publish

Version 0.1.0 (latest)

0.1.0

Created 27 September 2024.

Configure publication to Maven Central for Gradle projects with minimal effort.

Using the plugins DSL:

plugins {
  id("net.ormr.maven-central-publish") version "0.1.0"
}

Using legacy plugin application:

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

apply(plugin = "net.ormr.maven-central-publish")

Using the plugins DSL:

plugins {
  id "net.ormr.maven-central-publish" version "0.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "net.ormr:maven-central-publish-gradle:0.1.0"
  }
}

apply plugin: "net.ormr.maven-central-publish"

Learn how to apply plugins to subprojects