From 9045791e7f53c8b0054a3f41a67670b9988a3d1c Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sat, 13 Oct 2018 12:28:20 -0700 Subject: [PATCH] cleanup --- .../src/main/java/baritone/gradle/task/CreateDistTask.java | 3 +-- buildSrc/src/main/java/baritone/gradle/task/ProguardTask.java | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/buildSrc/src/main/java/baritone/gradle/task/CreateDistTask.java b/buildSrc/src/main/java/baritone/gradle/task/CreateDistTask.java index 1b8f1aa5..15e36314 100644 --- a/buildSrc/src/main/java/baritone/gradle/task/CreateDistTask.java +++ b/buildSrc/src/main/java/baritone/gradle/task/CreateDistTask.java @@ -23,7 +23,6 @@ import javax.xml.bind.DatatypeConverter; import java.nio.file.Files; import java.nio.file.Path; import java.security.MessageDigest; -import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; @@ -39,7 +38,7 @@ public class CreateDistTask extends BaritoneGradleTask { private static MessageDigest SHA1_DIGEST; @TaskAction - private void exec() throws Exception { + protected void exec() throws Exception { super.verifyArtifacts(); // Define the distribution file paths diff --git a/buildSrc/src/main/java/baritone/gradle/task/ProguardTask.java b/buildSrc/src/main/java/baritone/gradle/task/ProguardTask.java index 06af0011..ce0e3800 100644 --- a/buildSrc/src/main/java/baritone/gradle/task/ProguardTask.java +++ b/buildSrc/src/main/java/baritone/gradle/task/ProguardTask.java @@ -59,7 +59,7 @@ public class ProguardTask extends BaritoneGradleTask { private List requiredLibraries; @TaskAction - private void exec() throws Exception { + protected void exec() throws Exception { super.verifyArtifacts(); // "Haha brady why don't you make separate tasks"