Update gradle to v1.0rc and build v21.1.1