Fix eclipse configuration to be compatible with Gradle 2