title: Plugin [id: 'org.sonarqube', version: '2.8'] was not found in any of the following sources:
body: <p>Good day,</p>
  
  <p>The following is part of my code in <code>build.gradle</code>:</p>
  
  <pre><code>buildscript {
      repositories {
          jcenter()
          mavenCentral()
          maven {
             url "https://plugins.gradle.org/m2/"
          }
      }
    dependencies {
     classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.8"
    }
  }
  
  plugins {
    //id 'org.sonarqube' version '2.6.2'
    id 'org.sonarqube' version '2.8'
  }
  
  apply plugin: 'nebula.nebula-release'
  
  apply plugin: "org.sonarqube"
  
  apply from: "gradle/locations.gradle"
  apply from: "gradle/buildEnvironment.gradle"
  apply from: "gradle/project.gradle"
  apply from: "gradle/versions.gradle"
  apply from: "gradle/jacoco.gradle"
  apply from: "gradle/sonarqube.gradle"
  apply from: "gradle/testing.gradle"
  </code></pre>
  
  <p>When i run gradle command, it will hit the following error:</p>
  
  <pre><code>* What went wrong:
  Plugin [id: 'org.sonarqube', version: '2.8'] was not found in any of the following sources:
  
  - Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
  - Plugin Repositories (could not resolve plugin artifact 'org.sonarqube:org.sonarqube.gradle.plugin:2.8')
    Searched in the following repositories:
      Gradle Central Plugin Repository
  </code></pre>
  
  <p>However, if I change the <code>id 'org.sonarqube' version '2.8'</code> in my build.gradle to <code>id 'org.sonarqube' version '2.6.2'</code>, it will build success.</p>
  
  <p>May I know what mistake I make?</p>
  
  <p>** I am very new to gradle **</p>