Search Gradle plugins

io.github.gradle-nexus.publish-plugin

Gradle Plugin for publishing to Nexus that automates creating, closing, and releasing staging repositories

https://github.com/gradle-nexus/publish-plugin

Sources: https://github.com/gradle-nexus/publish-plugin

Version 2.0.0 (latest)

2.0.0

Created 05 April 2024.

Gradle Plugin for publishing to Nexus that automates creating, closing, and releasing staging repositories

Using the plugins DSL:

plugins {
  id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
}

Using legacy plugin application:

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

apply(plugin = "io.github.gradle-nexus.publish-plugin")

Using the plugins DSL:

plugins {
  id "io.github.gradle-nexus.publish-plugin" version "2.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.gradle-nexus:publish-plugin:2.0.0"
  }
}

apply plugin: "io.github.gradle-nexus.publish-plugin"

Learn how to apply plugins to subprojects