Search Gradle plugins

Version 2.1.1 (latest)

Created 05 February 2022.

License header configuration in line with the Indra file layout

Using the plugins DSL:

plugins {
  id "net.kyori.indra.license-header" version "2.1.1"
}

Using legacy plugin application:

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

apply plugin: "net.kyori.indra.license-header"

Using the plugins DSL:

plugins {
  id("net.kyori.indra.license-header") version "2.1.1"
}

Using legacy plugin application:

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

apply(plugin = "net.kyori.indra.license-header")

Learn how to apply plugins to subprojects