Made example compatible to Gradle 2.0