Just use compile configuration instead of deprecated groovy