我如何得到 来自以下仓库的 winsw-1.19-bin.exe :
repositories {
maven {
url 'http://repo.jenkins-ci.org/releases'
}
}
dependencies {
compile('com.sun.winsw:winsw:1.19@exe')
}
以上回报:
* What went wrong:
Could not resolve all dependencies for configuration ':compileClasspath'.
> Could not find winsw.exe (com.sun.winsw:winsw:1.19).
Searched in the following locations:
http://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/1.19/winsw-1.19.exe
答案 0 :(得分:0)
似乎我错过了分类器
compile('com.sun.winsw:winsw:1.19:bin@exe')
或
compile(group: 'com.sun.winsw', name: 'winsw', version: '1.19', classifier: 'bin', ext: 'exe')