From c1f9120cee1b2c7c87a9c0abaa5178feb66d212f Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Wed, 12 Sep 2018 12:26:57 +1000 Subject: [PATCH] Fixes #1113 --- favs/build.gradle | 14 +++++++++----- .../thevoxelbox/voxelsniper/brush/ErodeBrush.java | 1 - 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/favs/build.gradle b/favs/build.gradle index 4c126f5a5..96173f802 100644 --- a/favs/build.gradle +++ b/favs/build.gradle @@ -17,8 +17,12 @@ processResources { } } -jar.destinationDir = file '../target' -jar.archiveName = "FastAsyncVoxelSniper-${project.name}-${parent.version}.jar" -jar.doLast { task -> - ant.checksum file: task.archivePath -} \ No newline at end of file +shadowJar { + dependencies { + include(dependency('com.martiansoftware:jsap:2.1')) + } + archiveName = "FastAsyncVoxelSniper-${project.name}-${parent.version}.jar" + destinationDir = file '../target' +} + +build.dependsOn(shadowJar) \ No newline at end of file diff --git a/favs/src/main/java/com/thevoxelbox/voxelsniper/brush/ErodeBrush.java b/favs/src/main/java/com/thevoxelbox/voxelsniper/brush/ErodeBrush.java index 90ec7beb9..0ef94cc3d 100644 --- a/favs/src/main/java/com/thevoxelbox/voxelsniper/brush/ErodeBrush.java +++ b/favs/src/main/java/com/thevoxelbox/voxelsniper/brush/ErodeBrush.java @@ -8,7 +8,6 @@ import com.martiansoftware.jsap.JSAPException; import com.martiansoftware.jsap.JSAPResult; import com.martiansoftware.jsap.UnflaggedOption; import com.martiansoftware.jsap.stringparsers.EnumeratedStringParser; -import com.massivecraft.factions.P; import com.thevoxelbox.voxelsniper.Message; import com.thevoxelbox.voxelsniper.SnipeData; import com.thevoxelbox.voxelsniper.Undo;