update build script for gradle 0.11