should be 'withInvocation' not 'eachInvocation'
update wrapper to gradle-1.12-rc-1