Slackbot
02/06/2023, 8:46 PMephemient
02/06/2023, 8:51 PMfrom(zipTree(jarTaskProvider))
although the manifest might get clobbered, not sure.
in any case, you don't need dependsOnJakub Chrzanowski
02/06/2023, 9:00 PMproject.zipTree(jarTaskProvider)?
Cannot convert the provided notation to a File or URI: task ':jar'.ephemient
02/06/2023, 9:01 PMzipTree(files(jarTaskProvider))Jakub Chrzanowski
02/06/2023, 9:02 PMCannot convert the provided notation to a File or URI: file collection.Jakub Chrzanowski
02/06/2023, 9:06 PMarchiveFile directly with project.zipTree does the job:
from(project.zipTree(jarTaskProvider.map { it.archiveFile }))
Thanks, @ephemient!Vampire
02/06/2023, 9:24 PMzipTree. With that you first build a jar just to expand it again just to pack it again, that's a huge waste.Vampire
02/06/2023, 9:25 PMwith(jarTask) or what it was called.