title: Could not find property 'run' on org.gradle.testing.jacoco.plugins.JacocoPluginExtension_Decorated
body: <p>I'm using Spring Boot with Gradle. </p>
  
  <p>Upgrading to the following: </p>
  
  <pre><code> classpath("org.springframework.boot:spring-boot-gradle-plugin:1.3.0.RC1")
  </code></pre>
  
  <p>. . . from 1.2.7.RELEASE causes the following problem: </p>
  
  <pre><code>* What went wrong:
  A problem occurred evaluating root project 'vampr'.
  &gt; Could not find property 'run' on org.gradle.testing.jacoco.plugins.JacocoPluginExtension_Decorated@12e13f2b.
  </code></pre>
  
  <p>How to fix this? </p>
  
  <p><strong>Build file:</strong></p>
  
  <pre><code>buildscript {
      ext.kotlin_version = '1.0.0-beta-1038'
      repositories {
          maven { url "https://repo.spring.io/libs-milestone" }
          maven { url "https://repo.spring.io/libs-release" }
          mavenLocal()
          mavenCentral()
      }
      dependencies {
          classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
          classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.7.RELEASE")
      }
  }
  
  apply plugin: 'java'
  apply plugin: 'eclipse'
  apply plugin: 'idea'
  apply plugin: 'kotlin'
  apply plugin: 'spring-boot'
  apply plugin: "jacoco"
  
  
  jar {
      baseName = 'vampr'
      version =  '0.1.0'
  }
  
  repositories {
      mavenLocal()
      mavenCentral()
      maven { url "https://repo.spring.io/libs-milestone" }
      maven { url "https://repo.spring.io/libs-release" }
  }
  
  // New entire sourceSets
  sourceSets {
      main {
          kotlin {
              srcDir "src/main/kotlin"
          }
      }
      test {
          kotlin {
              srcDir "test/main/kotlin"
          }
      }
      integrationTest {
          kotlin {
              compileClasspath += main.output + test.output
              runtimeClasspath += main.output + test.output
              srcDir file('src/integration-test/kotlin')
          }
          resources.srcDir file('src/integration-test/resources')
      }
      main.java.srcDirs += 'src/main/kotlin'
  }
  
  configurations {
      integrationTestCompile.extendsFrom testCompile
      integrationTestRuntime.extendsFrom testRuntime
  }
  
  dependencies {
  
      compile("org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version")
      compile("org.springframework.boot:spring-boot-starter-data-rest")
  //    compile("org.springframework.boot:spring-boot-starter-actuator")
      compile("org.springframework.social:spring-social-facebook:2.0.2.RELEASE")
      testCompile("junit:junit")
      testCompile("org.springframework.boot:spring-boot-starter-test")
  }
  
  task wrapper(type: Wrapper) {
      gradleVersion = '1.11'
  }
  
  task integrationTest(type: Test) {
      testClassesDir = sourceSets.integrationTest.output.classesDir
      classpath = sourceSets.integrationTest.runtimeClasspath
  }
  
  check.dependsOn integrationTest
  integrationTest.mustRunAfter test
  
  tasks.withType(Test) {
      reports.html.destination = file("${reporting.baseDir}/${name}")
  }
  
  jacocoTestReport {
      reports {
          xml.enabled true
          csv.enabled false
          html.destination "${buildDir}/reports/coverage"
      }
  }
  
  test {
      jacoco {
          append = true
          destinationFile = file("$buildDir/jacoco/jacocoTest.exec")
          classDumpFile = file("$buildDir/jacoco/classpathdumps")
      }
  }
  
  jacoco {
      applyTo run
  }
  
  task applicationCodeCoverageReport(type:JacocoReport){
      executionData run
      sourceSets sourceSets.main
  }
  </code></pre>