Search Gradle plugins

Version 0.7.0

Created 27 March 2017.

Releasing to Maven Central from Gradle without dealing with Nexus UI

Using the plugins DSL:

plugins {
  id "io.codearte.nexus-staging" version "0.7.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.7.0"
  }
}

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

Using the plugins DSL:

plugins {
  id("io.codearte.nexus-staging") version "0.7.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.7.0")
  }
}

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

Learn how to apply plugins to subprojects