Adding check for gradle version