Search Gradle plugins

Version 1.0.0 (latest)

1.0.0

Created 19 August 2024.

A plugin to publish artifacts to the Sonatype Maven Central repository

Using the plugins DSL:

plugins {
  id("dev.g000sha256.sonatype-maven-central") version "1.0.0"
}

Using legacy plugin application:

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

apply(plugin = "dev.g000sha256.sonatype-maven-central")

Using the plugins DSL:

plugins {
  id "dev.g000sha256.sonatype-maven-central" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "dev.g000sha256:sonatype-maven-central:1.0.0"
  }
}

apply plugin: "dev.g000sha256.sonatype-maven-central"

Learn how to apply plugins to subprojects