Added gradle builds to v2.1 branch.