Search Gradle plugins

net.kyori.indra.licenser.spotless

Owner: kashike

Helper for configuring license header generation in Spotless with template parameters and differing formats

https://github.com/KyoriPowered/indra/wiki

Version 3.0.1 (latest)

Created 15 October 2022.

Helper for configuring license header generation in Spotless with template parameters and differing formats

Using the plugins DSL:

plugins {
  id "net.kyori.indra.licenser.spotless" version "3.0.1"
}

Using legacy plugin application:

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

apply plugin: "net.kyori.indra.licenser.spotless"

Using the plugins DSL:

plugins {
  id("net.kyori.indra.licenser.spotless") version "3.0.1"
}

Using legacy plugin application:

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

apply(plugin = "net.kyori.indra.licenser.spotless")

Learn how to apply plugins to subprojects