如何得到
以下回购中的 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
最佳答案
似乎我缺少分类器
compile('com.sun.winsw:winsw:1.19:bin@exe')
要么
compile(group: 'com.sun.winsw', name: 'winsw', version: '1.19', classifier: 'bin', ext: 'exe')