Migration to gradle along with WebDriver update