update to use latest versions of java and groovy