Plugin with id 'scoverage.gradle ' not found

  1. I am declear my build.gradle on my project rootDir

allprojects{
apply plugin: ‘idea’
group = ‘com.gridsum’
version = ‘0.1’
}

subprojects{
apply plugin: ‘scala’
//apply from: “$rootDir/gradle/scalastyle.gradle”
apply from: “$rootDir/gradle/scoverage.gradle”
repositories {
mavenCentral()
}

dependencies {
    compile 'org.scala-lang:scala-library:2.11.7'
    testCompile 'org.scalatest:scalatest_2.11:2.2.4'
    testCompile 'junit:junit:4.12'        
}

}

declear another buildscript in gradleDir

buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath ‘org.scoverage:gradle-scoverage:1.0-5-g9c68988’
}
}

apply plugin: ‘scoverage’

ext {
scalaBinaryVersion = ‘2.11’
scoverageVersion = ‘1.0.2’
}

dependencies {
scoverage “org.scoverage:scalac-scoverage-plugin_{scalaBinaryVersion}:{scoverageVersion}”,
“org.scoverage:scalac-scoverage-runtime_{scalaBinaryVersion}:{scoverageVersion}”
}

in my project rootdir execute gradle build ,report error

I don’t know what is wrong?who can help me,thanks very much!