Search Gradle plugins

Version 1.0-SNAPSHOT (latest)

Created 24 August 2019.

Gradle plugin to easily set up publishing to maven central

Using the plugins DSL:

plugins {
  id "me.tatarka.maven-central-publish" version "1.0-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.me.tatarka.central:maven-central-publish:1.0-SNAPSHOT"
  }
}

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

Using the plugins DSL:

plugins {
  id("me.tatarka.maven-central-publish") version "1.0-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.me.tatarka.central:maven-central-publish:1.0-SNAPSHOT")
  }
}

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

Learn how to apply plugins to subprojects