Updated gradle plugin to solve some incompatible changes with new version