Search Gradle plugins

net.kyori.invent-sonatype-repository

A plugin which adds a maven-publish repository for Sonatype.

https://github.com/KyoriPowered/invent/

Version 1.0.4 (latest)

Created 31 May 2019.

A plugin which adds a maven-publish repository for Sonatype.

Using the plugins DSL:

plugins {
  id "net.kyori.invent-sonatype-repository" version "1.0.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.net.kyori:invent:1.0.4"
  }
}

apply plugin: "net.kyori.invent-sonatype-repository"

Using the plugins DSL:

plugins {
  id("net.kyori.invent-sonatype-repository") version "1.0.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.net.kyori:invent:1.0.4")
  }
}

apply(plugin = "net.kyori.invent-sonatype-repository")

Learn how to apply plugins to subprojects