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 1.2.0

1.2.0

Created 22 February 2023.

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 "1.2.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects