Search Gradle plugins

Version 1.0.0 (latest)

1.0.0

Created 21 April 2021.

A gradle plugin to easily upload libraries to MavenCentral for distribution.

Using the plugins DSL:

plugins {
  id("dev.sarquella.mavencentral-publisher") version "1.0.0"
}

Using legacy plugin application:

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

apply(plugin = "dev.sarquella.mavencentral-publisher")

Using the plugins DSL:

plugins {
  id "dev.sarquella.mavencentral-publisher" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "dev.sarquella:mavencentral-publisher:1.0.0"
  }
}

apply plugin: "dev.sarquella.mavencentral-publisher"

Learn how to apply plugins to subprojects