From 2ea46bcb15388cb1d669ea00f17a1c60d6236d40 Mon Sep 17 00:00:00 2001 From: OmerBenGera Date: Fri, 19 Mar 2021 21:23:07 +0200 Subject: [PATCH] [CI SKIP] Fixed issues with the build.gradle file --- build.gradle | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 6d7eb4c..f1223a3 100644 --- a/build.gradle +++ b/build.gradle @@ -102,16 +102,15 @@ shadowJar { configurations = [project.configurations.getByName("runtimeClasspath")] } +clean { + delete file('./archive/') +} + build { dependsOn shadowJar - dependsOn publish + dependsOn clean } publish.shouldRunAfter shadowJar shadowJar.shouldRunAfter build - -publishing { - repositories { - mavenLocal() - } -} \ No newline at end of file +build.shouldRunAfter subprojects.build \ No newline at end of file