Cleanup deploy tasks.

This commit is contained in:
Erik C. Thauvin 2019-07-28 16:20:52 -07:00
parent b8539a7295
commit 9a95980e4c

View file

@ -162,11 +162,13 @@ task copyToDeploy(type: Copy) {
} }
task copyToDeployLib(type: Copy) { task copyToDeployLib(type: Copy) {
from configurations.compile from(configurations.runtime) {
exclude 'annotations-*.jar'
}
into deployDir + '/lib' into deployDir + '/lib'
} }
task deploy(dependsOn: ['build', 'jar']) { task deploy(dependsOn: ['clean', 'build', 'jar']) {
description = 'Copies all needed files to the ${deployDir} directory.' description = 'Copies all needed files to the ${deployDir} directory.'
group = 'Publishing' group = 'Publishing'
outputs.dir deployDir outputs.dir deployDir