Declare dependencies in a Gradle 2-compatible way