Search Gradle plugins

Version 0.7.0

Created 18 November 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.7.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "net.mamoe.maven-central-publish" version "0.7.0"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects