vert-x/vert.x — pull request #420 by teropa (2012-11-10 10:31:35+00:00)
Title: Minify client-side JavaScript during build

Added a step to the build which adds a minified version eventbus.js (eventbus.min.js) to the distributions.

The task uses gradle-js-plugin (https://github.com/eriwen/gradle-js-plugin) which itself does the minification using Google Closure compiler.

The need for this came up when adding the event bus client for Vert.x 1.3.0 to CloudFlare's CDN (https://github.com/cdnjs/cdnjs/pull/513). Of course, a minified version is also often preferable when self-hosting.