avoid deprecation warning

This gets rid of the groovy configuration deprecation warning.