📥 Adds a download task to Gradle that displays progress information
New features:
validateStatus
property)Bug fixes:
Maintenance:
New features:
URI
as source (#338)RegularFile
as input for the Verify
actionBug fixes:
Maintenance:
New features:
method
and body
Maintenance:
Bug fixes:
download
and verify
extensions to be created on demand in custom tasks, so these tasks can be made compatible with Gradle's configuration cache (see #284). Thanks to @liblit for testing!Maintenance:
New features:
path
and relativePath
properties to the DownloadDetails
class so eachFile
actions can also change the relative path of a target file and not only its nameeachFile
action) will lead to an exception being thrown.Bug fixes:
eachFile
action only once per sourceMaintenance:
Bug fixes:
IllegalStateException
with the message Connection is still allocated
. Thanks to @dmarks2 for spotting this.Maintenance:
New features:
eachFile
method that adds an action to be applied to each source URL before it is downloaded. The action can be used to modify the filename of the target file.runAsync
method to download extension. This allows multiple files to be downloaded in parallel if the download extension is used. For normal download tasks, multiple files were downloaded in parallel already.Bug fixes:
Bug fixes:
Host
header unless explicitly specified by the userBug fixes:
Maintenance: