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

Version 1.0.3-Beta (latest)

Created 21 April 2020.

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.0.3-Beta"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id("nl.elec332.gradle.ossrhplugin") version "1.0.3-Beta"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects