The new version of the Gradle plugin gradle-download-task 3.0.0 has just been
released. The plugin provides a
Download task that displays progress
information while downloading files, just like Gradle does when it fetches
an artifact from a repository.
Grab gradle-download-task 3.0.0 while it’s still hot:
The new version has been tested with Gradle 1.x up to 2.13 but should be compatible to any other version as well.
In the new version, the plugin’s core has been rewritten completely.
gradle-download-task now uses Apache HttpClient instead of Java’s
URLConnection. This enables a whole range of new features including support
for authenticating proxies.
The new version allows you to configure a proxy server by setting standard JVM system properties. The plugin uses the same system properties as Gradle. You can set them in the build script directly. For example, the proxy host can be set as follows:
Alternatively, you can set the properties in a
gradle.properties file like
Put this file in your project’s root directory or in your Gradle home directory.
HTTPS is also supported:
Automatically create target directory
gradle-download-task 3.0.0 automatically creates the target directory if multiple sources are set. For example, given the following task:
The target directory
myTargetDirectory will be created automatically if it
does not exist yet.
I also strongly advice to read my blog post on 10 recipes for gradle-download-task to get an idea what you can do with the plugin.
Posted by Michel Krämer
on 1 May 2016
I’m thrilled to announce the first release of Actson, a reactive JSON parser. Actson is event-based and can be used together with reactive frameworks such as Vert.x to create highly responsive applications.
Version 3.4.0 of the popular Gradle plugin contains many new features. Highlights are the support for ETags and downloading to a temporary file. The update also contains various other improvements.
The popular Gradle plugin now supports lazy source and destination properties. You can also configure it to ignore certificate errors, and it provides a new verify task. The plugin uses semantic versioning from now on.
Discussion boards powered by phpBB are regularly targeted by spammers. Version 3 has introduced an improved Captcha but there are more possibilities to reduce spam. In this article, I present five useful and effective measures.