Skip to content

Instantly share code, notes, and snippets.

@jezinka
Created April 14, 2018 09:08
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