setup for gradle. But war doesn't seem to get built properly