Example project that works in Gradle 1, but not Gradle 2