Encapsulate task declarations in a plugin (Gradle best practice tip #15)