CLOUD-186 gradle build in rest client