Update to buildtools 0.13.0

- update to version 0.13.0 of the gradle build system
- fixes an infinit recursion bug due to gradle now using groovy 2.+