Upgrade shadow to 4.0.1 and exclude module-info.class files.

This commit is contained in:
Tyler Benson 2018-10-22 10:33:32 +10:00
parent 192b0fd478
commit 13c91d11e5
2 changed files with 3 additions and 3 deletions

View File

@ -37,8 +37,6 @@ public class Utils {
"org.msgpack", "org.msgpack",
"com.fasterxml.jackson", "com.fasterxml.jackson",
"org.yaml.snakeyaml", "org.yaml.snakeyaml",
// modules
"module-info",
}; };
private static Method findLoadedClassMethod = null; private static Method findLoadedClassMethod = null;

View File

@ -1,5 +1,5 @@
plugins { plugins {
id "com.github.johnrengelman.shadow" version "2.0.4" id "com.github.johnrengelman.shadow" version "4.0.1"
} }
description = 'dd-java-agent' description = 'dd-java-agent'
@ -32,6 +32,8 @@ def includeShadowJar(subproject, jarname) {
mergeServiceFiles() mergeServiceFiles()
exclude '**/module-info.class'
dependencies { dependencies {
exclude(dependency("org.projectlombok:lombok:$versions.lombok")) exclude(dependency("org.projectlombok:lombok:$versions.lombok"))
} }