Install gradle 2.2 before building.