Add 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 name
Duplicate destination files are now prevented. Specifying a duplicate destination file (e.g. in an eachFile action) will lead to an exception being thrown.
Bug fixes:
Call eachFile action only once per source
Correctly create list of output files (even if the destination is the project's build directory)
Maintenance:
Update dependencies
5.2.1
Bug fixes:
Use pooling connection manager of Apache HttpClient instead of basic one. The basic one is not meant to be used by multiple threads. This fixes an issue that could cause an IllegalStateException with the message Connection is still allocated. Thanks to @dmarks2 for spotting this.
Maintenance:
Update dependencies
5.2.0
New features:
Add 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.
Add 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.
5.1.3
Bug fixes:
Initialize progress logger just before the download starts (see #243)
5.1.2
Bug fixes:
Do not include default HTTP and HTTPS ports in Host header unless explicitly specified by the user
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps gradle-download-task from 5.1.0 to 5.3.0.
Release notes
Sourced from gradle-download-task's releases.
Commits
0f43ce6
Document path and relativePath propertiesa8504f9
Bump up version number to 5.3.0708067c
Update dependencies0fdebf3
Improve verify example019089b
Correctly create list of output filesfa2739d
Create target directories at a central place02b8e1a
Prevent duplicate destination files0b65ca2
Call eachFile action only once per source7178771
Support changing a target file's relative path in an eachFile actione5af1bd
Bump version number to 5.3.0-SNAPSHOTDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)