title: Sonar does not pick up test coverage information
body: <p>Similar to <a href="https://stackoverflow.com/q/23875038/327426">SonarQube does not display detailed report per file for fully covered classes via Gradle</a> but not a dupe.</p>
  
  <p>Sonar Qube version 3.7.4
  Gradle version 2.1</p>
  
  <p>Running the <code>gradle sonarRunner</code> generates a file test.exec which Sonar <strong>does</strong> pick up</p>
  
  <pre><code>14:50:28.167 INFO  - Analysing D:\projname\build\jacoco\test.exec
  14:50:28.265 INFO  - No information about coverage per test.
  14:50:28.266 INFO  - Sensor JaCoCoSensor done: 106 ms
  14:50:28.529 INFO  - Execute decorators...
  14:50:29.253 INFO  - Store results in database
  14:50:29.391 INFO  - ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard/index/com.projname
  </code></pre>
  
  <p>However on refreshing the said project it shows coverage at 0%</p>
  
  <p>Unit Tests Coverage
  0.0%
  0.0% line coverage
  0.0% branch coverage</p>
  
  <p>I have set </p>
  
  <pre class="lang-groovy prettyprint-override"><code>sonarRunner {
      sonarProperties {
          property 'sonar.jacoco.reportPath', 'D:\\projname\\build\\jacoco\\test.exec'
          property 'sonar.junit.reportsPath','$buildDir/test-results'
          property 'sonar.tests', "$buildDir/classes/test"
       }
  }
  </code></pre>
  
  <p>I have tried \ and forward slashes - it does not make a difference</p>
  
  <p>any ideas?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>As per Peter's answer, removed the <code>sonarProperties</code> - so build.gradle basically is</p>
  
  <pre class="lang-groovy prettyprint-override"><code>subprojects {
     apply plugin: 'java'
     apply plugin: 'eclipse'
     apply plugin: 'sonar-runner'
     apply plugin: 'jacoco'
     sourceCompatibility  = 1.7
     group = 'com.mycomp'
     version = '1.0-SNAPSHOT'
  
      repositories {
          mavenCentral()
      }
  
      dependencies {
          testCompile 'junit:junit:4.10'
      }
  }
  </code></pre>
  
  <p>This does not read the default exec file which is generated at D:\projname\build\jacoco\test.exec</p>
  
  <p>Instead it gives the message</p>
  
  <pre><code>17:06:36.912 INFO  - Project coverage is set to 0% as no JaCoCo execution data has been dumped: D:\projname\target\jacoco.exec
  </code></pre>
  
  <p>Question: Does spaces in folder names cause a problem</p>