It looks like there is a bug in Gradle 1.9-rc-3 with the wrapper task.