Final changes to Gradle build setup.

Include custom Task to deploy build, as an alternative to the ones
provided by the application plugin.