Skip to content

Instantly share code, notes, and snippets.

@jezinka
Created Apr 14, 2018
Embed
What would you like to do?
task stage(type: Copy, dependsOn: [clean, build]) {
from jar.archivePath
into project.rootDir
rename {
'app.jar'
}
}
stage.mustRunAfter(clean)
clean << {
project.file('app.jar').delete()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment