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)