gradle-download-task

📥 Adds a download task to Gradle that displays progress information

APACHE-2.0 License

Stars
675
Committers
20

Bot releases are hidden (Show)

gradle-download-task - 5.6.0 Latest Release

Published by michel-kraemer 8 months ago

New features:

  • Add possibility to configure HTTP status code validator (using the validateStatus property)
  • Add integration tests for Gradle versions up to 8.6

Bug fixes:

  • Do not unnecessarily enable preemptive auth for proxy (possible security issue)
  • Remove sensitive headers from request after redirect (possible security issue).
    Thanks to @diederikfaber for reporting this and to @dtretyakov and @eghobo for the pointers.
  • Really log all requests (including redirects) and all headers in debug mode.
    It seems something has changed in Apache HttpClient since we initially implemented this feature.

Maintenance:

  • Update dependencies
  • Update to Gradle 8.6
  • Fix some warnings in build script
  • Set dependabot interval to weekly
  • Split CI tests of Gradle 7.x versions
gradle-download-task - 5.5.0

Published by michel-kraemer about 1 year ago

New features:

  • Accept URI as source (#338)
  • Support RegularFile as input for the Verify action

Bug fixes:

  • Relocate Apache HttpClient's public suffix list to avoid classpath conflicts (#317)

Maintenance:

  • Add integration tests for Gradle versions up to 8.3
  • Remove unnecessary integration tests for some 5.x and 6.x versions of Gradle
  • Update dependencies
  • Update to Gradle 8.3
  • Fix deprecation warnings in examples
gradle-download-task - 5.4.0

Published by michel-kraemer over 1 year ago

New features:

  • Add possibility to set request method and body

Maintenance:

  • Update dependencies
  • Improve documentation
  • Add integration tests for Gradle 8.0.1
gradle-download-task - 5.3.1

Published by michel-kraemer over 1 year ago

Bug fixes:

  • Downgrade slf4j to fix warning on console about missing slf4j provider
  • Allow 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:

  • Update dependencies
  • Improve documentation
  • Add integration tests for Gradle 6.9.3 and 7.6
gradle-download-task - 5.3.0

Published by michel-kraemer about 2 years ago

New features:

  • 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
gradle-download-task - 5.2.1

Published by michel-kraemer about 2 years ago

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
gradle-download-task - 5.2.0

Published by michel-kraemer about 2 years ago

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.
gradle-download-task - 5.1.3

Published by michel-kraemer about 2 years ago

Bug fixes:

  • Initialize progress logger just before the download starts (see #243)
gradle-download-task - 5.1.2

Published by michel-kraemer about 2 years ago

Bug fixes:

  • Do not include default HTTP and HTTPS ports in Host header unless explicitly specified by the user
gradle-download-task - 5.1.1

Published by michel-kraemer about 2 years ago

Bug fixes:

  • Correctly update cached sources

Maintenance:

  • Add integration tests for Gradle 7.5 and 7.5.1
  • Update dependencies
gradle-download-task - 5.1.0

Published by michel-kraemer over 2 years ago

New features:

  • Add possibility to enable preemptive Basic authentication (through the new preemptiveAuth flag)
  • Warn if server does not send WWW-Authenticate header in 401 response
  • Log request and response headers in debug mode

Maintenance:

  • Add integration tests for Gradle 7.4.1 and 7.4.2
  • Update dependencies
gradle-download-task - 5.0.5

Published by michel-kraemer over 2 years ago

Maintenance:

  • Publish signed artifacts to Gradle plugin portal
  • Update dependencies
gradle-download-task - 5.0.4

Published by michel-kraemer over 2 years ago

Bug fixes:

  • Fix deadlock in DownloadExtension if max-workers equals 1 (thanks to @beatbrot for spotting this, see #205)

Maintenance:

  • Update dependencies
gradle-download-task - 5.0.2

Published by michel-kraemer over 2 years ago

Bug fixes:

  • Fix configuration cache under Java 17

Maintenance:

  • Add integration tests for Gradle 7.4
  • Update dependencies
gradle-download-task - 5.0.1

Published by michel-kraemer over 2 years ago

Bug fixes:

  • Fix artifact on Gradle plugin portal
gradle-download-task - 5.0.0

Published by michel-kraemer over 2 years ago

New features:

  • Download multiple files in parallel
  • Enable concurrent execution with other tasks in the build
  • Write to disk asynchronously (and therefore in parallel to the download)
  • Display destination file name in progress message
  • Log retry attempts
  • Retry on any exception but UnknownHostException
  • Make download and verify extensions compatible with Kotlin and Gradle 8
  • Add support for lazy evaluation of Kotlin lambdas
  • Add Kotlin examples

Breaking changes:

  • The plugin now requires Java 8 (or higher) and Gradle 5 (or higher)
  • The authScheme property has been removed. The plugin is now able to detect the required scheme itself.
  • Due to incompatibility with Gradle 8, the download and verify extensions now need to be called through their run method.
  • Further information can be found in the migration guide

Maintenance:

  • Add integration tests for all Gradle versions up to 7.3.3
  • Upgrade Gradle to 6.9.1
  • Upgrade Apache HttpClient to 5.1.2
  • Migrate to JUnit 5 and AssertJ
  • Enable jacoco for testkit tests
  • Upload junit test reports on failure
  • Use build script to apply functional tests to all Gradle versions

Others:

  • Improve README
  • Add new screencast
gradle-download-task - 4.1.2

Published by michel-kraemer over 3 years ago

New features:

  • Add integration tests for Gradle 6.7 up to 7.7.1
gradle-download-task - 4.1.1

Published by michel-kraemer over 4 years ago

Bug fixes:

  • Fix breaking change, add back constructor with one argument (#158, thanks to @sebastianhaeni)
gradle-download-task - 4.1.0

Published by michel-kraemer over 4 years ago

New features:

  • Add support for Gradle configuration cache (see #156). Thanks to @eskatos for his pull request (#157)!

Maintenance:

  • Add integration tests for Gradle 6.2 up to 6.5.1
  • Deprecate Gradle 2.x, 3.x, and 4.x
  • Deprecate Java 7
gradle-download-task - 4.0.4

Published by michel-kraemer over 4 years ago

Maintenance:

  • Add integration tests for Gradle 6.1.1

Bug fixes:

  • Allow files to be moved from one file system to another (see #146)
Package Rankings
Top 10.16% on Repo1.maven.org
Badges
Extracted from project README
Actions Status codecov Apache License, Version 2.0
Related Projects