adding stage task to gradle