Skip to content

Commit

Permalink
Clean jlink task
Browse files Browse the repository at this point in the history
  • Loading branch information
Ealrann committed Jul 23, 2019
1 parent 0bbeea7 commit 078e07b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion org.sheepy.vsand/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -47,6 +47,7 @@ task copyModules(type: Copy) {
into 'build/image/modules'
}

tasks.clean.dependsOn(cleanJlink)
tasks.jlink.finalizedBy(copyReleng)
tasks.jlink.finalizedBy(copyModules)

Expand Down

0 comments on commit 078e07b

Please sign in to comment.