aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2021-02-20 18:29:31 +0800
committershedaniel <daniel@shedaniel.me>2021-02-20 18:29:31 +0800
commitce4a1cb2a37293d5704745df31b48d8fdae37da0 (patch)
tree1f229ed54b87bf39ba3820f188abb2f71caae521 /build.gradle
parente8800ec6ac843289e666464a31a21878f797f261 (diff)
parent57c9a8f3209121f22e84b8b01b64f1093256f1d3 (diff)
downloadarchitectury-loom-ce4a1cb2a37293d5704745df31b48d8fdae37da0.tar.gz
architectury-loom-ce4a1cb2a37293d5704745df31b48d8fdae37da0.tar.bz2
architectury-loom-ce4a1cb2a37293d5704745df31b48d8fdae37da0.zip
Merge remote-tracking branch 'FabricMC/dev/0.6' into dev/0.6-forge
# Conflicts: # .github/workflows/test-push.yml # build.gradle # src/main/java/net/fabricmc/loom/util/Constants.java
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle11
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 {