在使用gradle尝试sonarqube插件时遇到以下错误:
Is
plugins {
id "org.sonarqube" version "2.2"
}
working perfectly ?
I am getting following error
Error resolving plugin [id: 'org.sonarqube', version: '2.2']
> Could not GET 'https://plugins.gradle.org/api/gradle/2.11/plugin/use/org.sonar
qube/2.2'.
> This is usually a temporary error during hostname resolution and means that
the local server did not receive a response from an authoritative server
当我尝试直接在浏览器中点击网址时:
https://plugins.gradle.org/api/gradle/2.11/plugin/use/org.sonar%20qube/2.2.1
it's giving following output :
{ "消息" :" no' org.sonar qube'插件可用 - 请参阅https://plugins.gradle.org了解可用的插件", "的errorCode" :" UNKNOWN_PLUGIN" }
gradle插件一切正常吗?