Ported buildr javahelp to gradle script.