remove usage of deprecated groovy configuration