From 9491f948f81190f20de3d86373c3c923c2b5af3a Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Thu, 28 Mar 2019 22:01:33 -0400 Subject: [PATCH] Upgraded Gradle Shadow plugin to 4.0.4 (last Gradle 4.x version) --- build.gradle | 2 +- proxy/build.gradle | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 8bd681537..45b62ac27 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4' + classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.4' } } diff --git a/proxy/build.gradle b/proxy/build.gradle index b8cb34773..281f9d23d 100644 --- a/proxy/build.gradle +++ b/proxy/build.gradle @@ -1,6 +1,5 @@ plugins { id 'java' - id 'de.sebastianboegl.shadow.transformer.log4j' version '2.1.1' id 'checkstyle' } @@ -20,6 +19,10 @@ jar { } } +shadowJar { + transform(com.github.jengelman.gradle.plugins.shadow.transformers.Log4j2PluginsCacheFileTransformer) +} + tasks.withType(Checkstyle) { exclude('**/com/velocitypowered/proxy/protocol/packet/*.java') }