Upgrade gradle plugin to 0.10 and gradle 1.12