Support Gradle 2.1: fix dependency configuration to compile (from groovy)