def uuid = '#(util.uuid())' print uuid Printing gives me the string #(util.uuid()) back and not the generated uuid. What can be the solution?