Update to buildtools 0.13.0

- updates to version 0.13.0 of the gradle build system
- fixes an infinit recursion bug due to gradle now using groovy 2.+
is this needed now?