diff --git a/build.gradle b/build.gradle index effb9c9..f3f3c05 100644 --- a/build.gradle +++ b/build.gradle @@ -42,9 +42,9 @@ dependencies { } task fatJar(type: Jar) { -// dependsOn configurations.runtime + duplicatesStrategy = DuplicatesStrategy.EXCLUDE dependsOn configurations.runtimeClasspath - from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } + from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } } with jar // The name "shaded" here is just to be consistent with old packaged // when we were still maven-shade-plugin to make the fat JAR, no classes are actually get shaded or shadowed.