title: Sonarqube gradle analyzing project, task not found in root project
body: <p>Analysing project with this command</p>
  
  <pre><code>.\gradlew sonarqube \   -Dsonar.host.url=http://my.url \   -Dsonar.login=login --stacktrace
  </code></pre>
  
  <p>Getting this error </p>
  
  <blockquote>
    <p>org.gradle.execution.TaskSelectionException: Task '\' not found in root project 'JavaLint'</p>
  </blockquote>
  
  <p>And here is my gradle file</p>
  
  <pre><code>plugins {
    id "org.sonarqube" version "2.6.2"
  }
  
  apply plugin: 'application'
  apply plugin: 'java'
  apply plugin: 'eclipse'
  archivesBaseName = 'JavaLint'
  version = '0.1-SNAPSHOT' 
  mainClassName = 'Main'
  
  repositories {
      mavenCentral()
  }
  
  jar {
      manifest {
          attributes 'Main-Class': 'com.test.Run'
      }
  }
  
  sourceSets {
      main {
          java {
              srcDirs 'src'
          }
      }
   }
  
  dependencies {
      compile group: 'commons-io', name: 'commons-io', version: '2.6'
      compile group: 'commons-lang', name: 'commons-lang', version: '2.6'
      compile group: 'org.jsoup', name: 'jsoup', version: '1.11.2'
      compile group: 'junit', name: 'junit', version: '4.12'
      compile group: 'log4j', name: 'log4j', version: '1.2.16'
  }
  </code></pre>
  
  <p>Stack trace
  <a href="https://i.stack.imgur.com/Onjcd.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Onjcd.png" alt="stacktrace"></a></p>
  
  <p>I don't understand what am i supposed to do with it.</p>