Search Gradle plugins

Version 3.1.3 (latest)

3.1.3

Created 28 August 2023.

License header configuration in line with the Indra file layout, using the Cadix licenser

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects