Migrate to the latest gradle plugin

- #1