From 078e07b6094695822b0e015b9ced50174543720e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Mora?= Date: Tue, 23 Jul 2019 17:29:15 +0800 Subject: [PATCH] Clean jlink task --- org.sheepy.vsand/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.sheepy.vsand/build.gradle b/org.sheepy.vsand/build.gradle index 202d72ac..5d1c5eff 100644 --- a/org.sheepy.vsand/build.gradle +++ b/org.sheepy.vsand/build.gradle @@ -18,7 +18,7 @@ switch ( OperatingSystem.current() ) { break } -task jlink(type: Exec, dependsOn: ['installDist', 'cleanJlink']) { +task jlink(type: Exec, dependsOn: ['installDist']) { def javaHome = System.properties.'java.home' workingDir 'build' @@ -47,6 +47,7 @@ task copyModules(type: Copy) { into 'build/image/modules' } +tasks.clean.dependsOn(cleanJlink) tasks.jlink.finalizedBy(copyReleng) tasks.jlink.finalizedBy(copyModules)