de.marcphilipp.nexus-publish
Owner: Marc Philipp
Gradle Plugin for publishing to Nexus repositories
https://github.com/marcphilipp/nexus-publish-plugin
Sources: https://github.com/marcphilipp/nexus-publish-plugin
Version 0.2.0
Created 02 February 2019.
- Fix: The publishToNexus task now only depends on publish for the nexus repository instead of on all publish tasks
- New feature: if the io.codearte.nexus-staging plugin is applied on the root project, the stagingRepositoryId on its extension is set to the id of the newly created staging repository. This way it does not depend on exactly one open staging repository being available.
- New feature: if the io.codearte.nexus-staging plugin is applied on the root project, the stagingRepositoryId on its extension is set to the id of the newly created staging repository. This way it does not depend on exactly one open staging repository being available.
Using the plugins DSL:
plugins {
id("de.marcphilipp.nexus-publish") version "0.2.0"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("de.marcphilipp.gradle:nexus-publish-plugin:0.2.0")
}
}
apply(plugin = "de.marcphilipp.nexus-publish")
Using the plugins DSL:
plugins {
id "de.marcphilipp.nexus-publish" version "0.2.0"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "de.marcphilipp.gradle:nexus-publish-plugin:0.2.0"
}
}
apply plugin: "de.marcphilipp.nexus-publish"