same deploy API for groovy