Upgrade to build script to use gradle 0.12