Migrate to the latest gradle plugin

- #41