A bus to generate a distribution zip with a simple build tool
def distpath = ((Outputpath ##) / default jarnname) +++ mainwind dependencies. Black jar) vulnerable val distribution = zip task (depends, "dist", "distribution.zip") depends (`package`) "Zip to project.")
This connects jar files to the root of the zip. How does JAR add to a lib
subfolder in zip?
for SBT 0.7.x:
Nothing that I know has been implemented by default. However, you can use the SBT file utility.
Try playing with the following example, which copies your artificial jar into a TMP diary, DIS zips, and removes it. It should be straightforward to extend dependent lbs.
FileUtilities
:
DEA ZIP (Source: Attractable [Path], OutputJip (Path, Log: Logger): Option [String]
Their announcement should be self-explanatory.
Comments
Post a Comment