Today, I’m happy to announce the new major version 5.0.0 of the popular gradle-download-task. With this Gradle plugin, you can download files in your build scripts and display progress information. The release notes for the new version are rather extensive this time. Highlights include downloading multiple files in parallel, concurrent execution with other build tasks, and better support for Kotlin and Gradle 8 (see full list of changes below). Updating is recommended for all users.
Grab gradle-download-task 5.0.0 while it’s still hot:
https://github.com/michel-kraemer/gradle-download-task
The new version has been tested with Gradle 5.0 up to 7.3.3 but should be compatible to any newer version as well.
UnknownHostException
download
and verify
extensions are now compatible with Kotlin and Gradle 8authScheme
property has been removed. The plugin is now able to detect the required scheme itself.download
and verify
extensions now need to be called through their run
method.gradle-download-task 5.0.0 introduces the following breaking changes:
authScheme
property has been removed. The plugin now automatically detects the correct scheme to use based on the server response.download
extension was incompatible with Gradle 8. Also, using it from Kotlin build scripts was rather inconvenient. It is therefore now necessary to call the extension through its run
method. Replace download { ... }
with download.run { ... }
. The same applies to the verify
extension.If you want to learn more about the plugin, have a look at its README file or at my earlier post.
I also strongly advice you to read my blog post on 10 recipes for gradle-download-task to get an idea what you can do with the plugin.
If you or your company use any of my projects or like what I’m doing, please consider sponsoring me so I can continue maintaining and developing my projects and new ones!
Thank you so much for your support!