do not use deprecated API
Merge pull request #9 from CoreMedia/deprecations

Prepare Update to Groovy 2.x