diff options
Diffstat (limited to 'build.gradle')
| -rw-r--r-- | build.gradle | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/build.gradle b/build.gradle index 5c6410c5..219c5c42 100644 --- a/build.gradle +++ b/build.gradle @@ -6,6 +6,7 @@ plugins { id 'eclipse' id 'groovy' id 'checkstyle' + id "org.cadixdev.licenser" version "0.5.0" id 'com.github.johnrengelman.shadow' version '4.0.4' } @@ -130,7 +131,7 @@ jar { } manifest { - attributes 'Implementation-Version': version + ' Build(' + build + ')' + attributes 'Implementation-Version': project.version + ' Build(' + build + ')' } } @@ -144,9 +145,9 @@ task javadocJar(type: Jar, dependsOn: javadoc) { from javadoc.destinationDir } -apply from: 'https://github.com/FabricMC/fabric-docs/raw/master/gradle/license.gradle' - license { + header rootProject.file("HEADER") + include "**/*.java" exclude '**/loom/util/DownloadUtil.java' exclude '**/loom/util/FileSystemUtil.java' exclude '**/loom/inject/mixin/MixinIntermediaryDevRemapper.java' @@ -157,10 +158,6 @@ checkstyle { toolVersion = '8.39' } -checkstyleMain { - logging.setLevel(LogLevel.LIFECYCLE) -} - gradlePlugin { plugins { fabricLoom { |
