groovysdk 2.2.1 (new formula)

Closes #33285.
Groovy-sdk is difficult. It's also Java, which isn't my field at all. I'll try and probe the commands a little more though.