This message was deleted.
# community-support
s
This message was deleted.
c
you’ve added a copy task without specifying a destination directory; if the intent is to add content into the jar you can do that using the jar task configuration copyspec: from(zipTree(myJar)) or somesuch.
s
No sure I understand it so for my example above what should I do?
t
Remove
doLast
and
copy
, and use
zipTree
if you want the content of the JAR:
Copy code
jar {
  from(zipTree(mine))
}