port to gradle