Search Gradle plugins

net.mamoe.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 0.6.0-dev-1

0.6.0-dev-1

Created 07 July 2021.

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

Using the plugins DSL:

plugins {
  id("net.mamoe.maven-central-publish") version "0.6.0-dev-1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("net.mamoe.him188:maven-central-publish-gradle:0.6.0-dev-1")
  }
}

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

Using the plugins DSL:

plugins {
  id "net.mamoe.maven-central-publish" version "0.6.0-dev-1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "net.mamoe.him188:maven-central-publish-gradle:0.6.0-dev-1"
  }
}

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

Learn how to apply plugins to subprojects