Search Gradle plugins

me.him188.maven-central-publish

Owner: Him188

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

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

Version 1.0.0-dev-3 (latest)

Created 06 December 2021.

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

Using the plugins DSL:

plugins {
  id "me.him188.maven-central-publish" version "1.0.0-dev-3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "me.him188:maven-central-publish-gradle:1.0.0-dev-3"
  }
}

apply plugin: "me.him188.maven-central-publish"

Using the plugins DSL:

plugins {
  id("me.him188.maven-central-publish") version "1.0.0-dev-3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("me.him188:maven-central-publish-gradle:1.0.0-dev-3")
  }
}

apply(plugin = "me.him188.maven-central-publish")

Learn how to apply plugins to subprojects