Convert to gradle