如何引用托管在上的自定义远程Maven存储库?下面是我在根build.gradle中尝试的内容
allprojects {
repositories {
jcenter()
maven {
// This Stash path does not work
url "https://stash.company.lan/projects/AP/repos/internal-repository"
}
maven {
// This GitHub path works fine
url "https://github.com/user/mvn-repo/tree/master"
}
}
}我无法找到存储的原始文件夹结构的正确路径,所以Gradle理解。当我引用存储在存储库中的库时,会引发以下错误:
错误:原因:无法找到被请求目标的有效证书路径
发布于 2016-08-03 15:13:38
我不知道你为什么要使用储藏,因为使用单片机而不是尼克斯不是那么好的方式.但是,如果您愿意,请检查nebula plugin中的gradle,这里是它。也许它会对你有帮助;)
只是
发布于 2016-09-08 18:56:46
Jeroen Mols在他的文章中描述了一个设置:
我还没有尝试,因为我决定安装一个本地的Nexus实例。如果这对你有用的话,请在这里评论。
https://stackoverflow.com/questions/38747160
复制相似问题