Skip to content

Commit

Permalink
Remove License Header Check
Browse files Browse the repository at this point in the history
  • Loading branch information
APickledWalrus committed May 16, 2024
1 parent 13b26a9 commit b25d563
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 29 deletions.
15 changes: 2 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import java.time.LocalTime

plugins {
id 'com.github.johnrengelman.shadow' version '8.1.1'
id 'com.github.hierynomus.license' version '0.16.1'
id 'maven-publish'
id 'java'
}
Expand Down Expand Up @@ -55,7 +54,7 @@ task checkAliases {
}

task testJar(type: ShadowJar) {
dependsOn(compileTestJava, licenseTest)
dependsOn(compileTestJava)
archiveFileName = 'Skript-JUnit.jar'
from sourceSets.test.output, sourceSets.main.output, project.configurations.testShadow
}
Expand Down Expand Up @@ -141,15 +140,6 @@ publishing {
}
}

license {
header file('licenseheader.txt')
exclude('**/Metrics.java') // Not under GPLv3
exclude('**/BurgerHelper.java') // Not exclusively GPLv3
exclude('**/*.sk') // Sample scripts and maybe aliases
exclude('**/*.lang') // Language files do not have headers (still under GPLv3)
exclude('**/*.json') // JSON files do not have headers
}

task releaseJavadoc(type: Javadoc) {
title = project.name + ' ' + project.property('version')
source = sourceSets.main.allJava
Expand Down Expand Up @@ -204,7 +194,6 @@ void createTestTask(String name, String desc, String environments, int javaVersi
}
tasks.register(name, JavaExec) {
description = desc
dependsOn licenseTest
if (junit) {
dependsOn testJar
} else if (releaseDocs) {
Expand Down Expand Up @@ -388,7 +377,7 @@ task nightlyResources(type: ProcessResources) {

task nightlyRelease(type: ShadowJar) {
from sourceSets.main.output
dependsOn nightlyResources, licenseMain
dependsOn nightlyResources
archiveFileName = 'Skript-nightly.jar'
manifest {
attributes(
Expand Down
16 changes: 0 additions & 16 deletions licenseheader.txt

This file was deleted.

0 comments on commit b25d563

Please sign in to comment.