http://www.gradle.org/docs/current/userguide/distribution_plugin.html
The one thing that makes me nervous is that the tar distribution task does not seem to support gzip compression of the output : http://forums.gradle.org/gradle/topics/distribution_plugin_and_g_zip_compression