Looks like the missing method
was changed to this (return type changed to String)
for https://issues.apache.org/jira/browse/GROOVY-7071
I don’t see anything easy we can change on our side.