Convert project to use gradle