migrate project to gradle