Getting rid of one of the Gradle 1.6 deprecation warnings

This PR addresses one of Gradle's new deprecation warnings.

(The other warning is caused by the LicensePlugin, as far as I can see.)