Add license header

This commit is contained in:
Jason Penilla committed 2021-11-17 00:20:47 -08:00
1 parent 49484015b3
commit 26ee2c320b
115 files changed
+2129 -16

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ repositories {
dependencies {
implementation(libs.shadow)
implementation(libs.indraCommon)
implementation(libs.licenser)
// https://github.com/gradle/gradle/issues/15383#issuecomment-779893192
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
@@ -3,6 +3,7 @@ plugins {
id("net.kyori.indra.git")
id("net.kyori.indra.checkstyle")
id("net.kyori.indra.publishing")
id("net.kyori.indra.license-header")
}
indra {
@@ -13,6 +14,10 @@ indra {
github(GITHUB_ORGANIZATION, GITHUB_REPO)
}
license {
header.set(resources.text.fromFile(rootProject.file("LICENSE_HEADER")))
}
tasks {
withType<JavaCompile> {
// disable 'warning: No processor claimed any of these annotations' spam