Update plugin build script since buildhive now uses a more recentish gradle version