migrating to gradle setup