rebuild to gradle