Skip to content

Releases: michel-kraemer/gradle-download-task

4.0.3

25 Jan 08:58
Compare
Choose a tag to compare

New features:

  • Allow org.gradle.api.provider.Provider to be passed to various properties for lazy evaluation

Maintenance:

  • Add integration tests for Gradle 6.1

4.0.2

24 Nov 13:11
Compare
Choose a tag to compare

Maintenance:

  • Add integration tests for Gradle up to version 6.0.1
  • Migrate CI to GitHub Actions

Bug fixes:

  • Fix compatibility with Gradle 6
  • Fix deprecation warnings regarding missing task annotations

4.0.1

26 Oct 16:09
Compare
Choose a tag to compare

Bug fixes:

  • Fix performance regression introduced in version 4.0.0: Download speed was slower and CPU usage was higher than usual because the Apache HttpClient library used internally wasted too much time on logging. Logging is now disabled by default and can be re-enabled if necessary by setting the system property de.undercouch.gradle.tasks.download.org.apache.commons.logging.Log to de.undercouch.gradle.tasks.download.org.apache.commons.logging.impl.Jdk14Logger. See issue #141 .

4.0.0

06 Jul 07:19
Compare
Choose a tag to compare

New features:

  • Relocate Apache HttpClient to avoid dependency conflicts
  • Print status code in error message (#115)
  • Add possibility to retry requests (#83)
  • Rename timeout property to connectTimeout and readTimeout (#126)
  • Log URL on error (#127)

Maintenance:

  • Remove deprecated properties
  • Drop support for Gradle 1.x and Java 6
  • Add integration tests for Gradle up to version 5.4.1
  • Migrate unit tests to WireMock
  • Fix compiler warnings

Bug fixes:

  • Really disable compression if compress flag is false
  • Explicitly register PlainConnectionSocketFactory.INSTANCE for HTTP (#133)
  • Assertion errors (#114)
  • Always close HTTP response

3.4.3

10 May 07:40
Compare
Choose a tag to compare
  • Correctly handle RFC 6265 compliant cookies (fixes #112)
  • Add integration tests for Gradle 4.7

3.4.2

12 Mar 19:26
Compare
Choose a tag to compare
  • Delete destination file before renaming temporary file. Otherwise renaming might fail, in particular under Windows (fixes #87)

3.4.1

05 Mar 07:20
Compare
Choose a tag to compare
  • Force download if ETag is correct but destination file does not exist (see #107, thanks to @liblit)

3.4.0

04 Mar 13:10
Compare
Choose a tag to compare
  • Add support for ETags
  • Add tempAndMove configuration flag
  • Register top-level properties Download and Verify for the tasks provided by the plugin. This helps you avoid unnecessary import statements.
  • Add verifyChecksum extension as an alternative to the Verify task
  • Deprecate Java 6
  • Deprecate Gradle 1.x
  • Add integrations tests for all Gradle versions up to 4.6

3.3.0

14 Sep 11:55
Compare
Choose a tag to compare
  • Add configurable timeout
  • Introduce onlyIfModified as an alias for onlyIfNewer
  • Implement onlyIfNewer for the file protocol
  • Fix handling of skipped and up-to-date tasks with Gradle 3.2 and higher
  • Add possibility to set interceptors for requests and responses
  • Add integration tests for Gradle 3.4 up to 4.1

3.2.0

29 Jan 13:44
Compare
Choose a tag to compare
  • Cache HTTP client to improve performance if multiple files are downloaded from the the same host
  • Add support for file:// based URLs (thanks to @gamerson)
  • Add support for the http.nonProxyHosts system property (thanks to @Ithildir)
  • Add integration tests for Gradle 3.1 up to 3.3