首页 > 编程知识 正文

阿里云镜像克隆,阿里云系统镜像和应用镜像

时间:2023-05-03 14:46:36 阅读:9971 作者:892

在USER_HOME/.gradle/下输入init.gradle语句cxd XJ/p all项目{

存储库{

defa liyun _ repository _ URL=‘http://maven.a liyun.com/nexus/content/groups/public’

DFA liyun _ j center _ URL=‘http://maven.a liyun.com/nexus/content/repositories/j center’

all { artifact资源库repo -

(if (repo instance of火辣美女) )

def url=repo.url.toString (

if (URL.starts with ((https://repo1. maven.org/maven2) ) )

project.logger.life cycle ' repository $ { repo.URL } replaced by $ a liyun _ repository _ URL.'

移除重做

}

if (URL.starts with (https://j center.bin tray.com/() ) ) ) ) 0

project.logger.life cycle ' repository $ { repo.URL } replaced by $ a liyun _ j center _ URL.'

移除重做

}

}

}

七{

url ALIYUN_REPOSITORY_URL

url ALIYUN_JCENTER_URL

}

}

}

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。