Facing below error while trying sonarqube plugin with gradle :
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
When I tried to hit the url directly in browser :
https://plugins.gradle.org/api/gradle/2.11/plugin/use/org.sonar%20qube/2.2.1
it's giving following output :
{ "message" : "no 'org.sonar qube' plugin available - see https://plugins.gradle.org for available plugins", "errorCode" : "UNKNOWN_PLUGIN" }
Is everything okay for gradle plugin ?