Revert "use groovy 2.3.7"

This reverts commit 823c6fc670f3f5b51bb0500a0527f98dc055e5f0.