Intergating Java libs
Use Grape to grab a lib:
groovy.grape.Grape.grab(group:'org.apache.commons', module:'commons-lang3', version:'3.3.2')
def s = "A silly string with words"
assert org.apache.commons.lang3.text.WordUtils.capitalizeFully(s) == 'A Silly String With Words'