Upgrade gradle to 1.12

I think upgrading to gradle 1.12 might be a good idea.