mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 14:38:51 +00:00
Add license header
This commit is contained in:
115 files changed
+2129
-16
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user