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

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

Version 1.0.0 (latest)

1.0.0

Created 16 September 2022.

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"
}

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")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects