https://blog.csdn.net/huachao1001/article/details/51810328
https://blog.csdn.net/wangqiubo2010/article/details/76590556
1:上传到本地:
//group和version在后面使用自定义插件的时候会用到
group='com.hc.plugin'
version='1.0.0'
uploadArchives {
repositories {
mavenDeployer {
//提交到远程服务器:yunxiao
// repository(url: "http://www.xxx.com/repos") {
// authentication(userName: "admin", password: "admin")
// }
//本地的Maven地址设置为D:/repos
repository(url: uri('D:/repos'))
}
}
}