mobanisto / pinpit-gradle-plugin

Platform Independent Native Packaging and Installer Toolkit
Apache License 2.0
47 stars 1 forks source link

Interrupting JDK download task can leave a corrupted JDK archive in ~/.pinpit #29

Open sebkur opened 1 year ago

sebkur commented 1 year ago

When stopping a build while the JDK downloading task in running can leave the download unfinished. Subsequent builds won't re-download because the file is already there, but it fails to unpack.

We should make sure to only leave files behind that finished downloading.