Search Gradle plugins

Version 0.12.0

Created 29 September 2018.

Releasing to Maven Central from Gradle without dealing with Nexus UI

Using the plugins DSL:

plugins {
  id "io.codearte.nexus-staging" version "0.12.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.12.0"
  }
}

apply plugin: "io.codearte.nexus-staging"

Using the plugins DSL:

plugins {
  id("io.codearte.nexus-staging") version "0.12.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.12.0")
  }
}

apply(plugin = "io.codearte.nexus-staging")

Learn how to apply plugins to subprojects