Small change, tested with Gradle 1.12 and works fine