changing groovy configuration to remove deprecation warning