This patch updates to the download task to version 2.0.0.
Newer versions of the plugin are referenced using the plugin block rather than a dependency. The plugin block has certain requirements with respect to ordering in the Gradle files, so I had to rearrange the buildscript and plugin blocks.
I tested this on Gradle 2.6. I would encourage additional testing before committing.