Search Gradle plugins

nl.elec332.gradle.ossrhplugin

Owner: AMJ

A Gradle plugin to simplify the deployment of artifacts to OSSRH and Maven Central

https://github.com/Elec332/GradleOSSRHPlugin

Sources: https://github.com/Elec332/GradleOSSRHPlugin.git

Version 1.1.1 (latest)

1.1.1

Created 27 June 2023.

A Gradle plugin to simplify the deployment of artifacts to OSSRH and Maven Central

Using the plugins DSL:

plugins {
  id("nl.elec332.gradle.ossrhplugin") version "1.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.nl.elec332.gradle:OSSRHPlugin:1.1.1")
  }
}

apply(plugin = "nl.elec332.gradle.ossrhplugin")

Using the plugins DSL:

plugins {
  id "nl.elec332.gradle.ossrhplugin" version "1.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.nl.elec332.gradle:OSSRHPlugin:1.1.1"
  }
}

apply plugin: "nl.elec332.gradle.ossrhplugin"

Learn how to apply plugins to subprojects