Fixed gradle build (requires gradle 1.12)