moving the enums to src/groovy