Search Gradle plugins

Version 2.1.0

2.1.0

Created 01 February 2022.

Reasonable settings for Gradle plugin publishing

Using the plugins DSL:

plugins {
  id("net.kyori.indra.publishing.gradle-plugin") version "2.1.0"
}

Using legacy plugin application:

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

apply(plugin = "net.kyori.indra.publishing.gradle-plugin")

Using the plugins DSL:

plugins {
  id "net.kyori.indra.publishing.gradle-plugin" version "2.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "net.kyori:indra-publishing-gradle-plugin:2.1.0"
  }
}

apply plugin: "net.kyori.indra.publishing.gradle-plugin"

Learn how to apply plugins to subprojects