Fix for deprecated groovy configuration