title: Configure gradle projects in SonarQube
body: <p>I am working with Liferay DXP and I would like integrate SonarQube in my workspace, I am using gradle.</p>
  
  <p>My workspace is called: test-workpace</p>
  
  <p>My gradle.properies file (path: test-workspace/gradle.properties) is:</p>
  
  <pre><code>systemProp.sonar.host.url=http://localhost:9000
  systemProp.sonar.sourceEncoding=UTF-8
  systemProp.sonar.forceAuthentication=true
  systemProp.sonar.login=&lt;mytoken&gt;
  
  # Definición de variables para el proyecto.
  description = 'Gradle - Sample Project'
  group = 'com.test.sonarqube.gradle'
  version = '1.0.0'
  </code></pre>
  
  <p>My build.gradle file (path: test-workspace/build.gradle) is:</p>
  
  <pre><code>buildscript {
          repositories {
                  mavenLocal()
                  jcenter()
                  maven {
                          url "https://plugins.gradle.org/m2/"
                  }
          }
          dependencies {
                  classpath group: "org.sonarsource.scanner.gradle", name:"sonarqube-gradle-plugin", version:"2.5"
          }
  }
  
  group = 'com.test.sonarqube.gradle'
  apply plugin: "org.sonarqube"
  </code></pre>
  
  <p>When I execute "gradle sonarqube" all workspace is scanned but  I would like to configure each modules like a project in SonarQube.</p>
  
  <p>Someone know how to configure gradle files to do it?.</p>
  
  <p>Thank you very much!</p>