Migrate to the latest gradle plugin

- #2