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.0.1-Alpha

1.0.1-Alpha

Created 19 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.1-Alpha"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "nl.elec332.gradle.ossrhplugin" version "1.0.1-Alpha"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects