Skip to content

Instantly share code, notes, and snippets.

@goofyahead
Created June 26, 2018 12:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goofyahead/6f02e49b82206aa9791332b633d66379 to your computer and use it in GitHub Desktop.
Save goofyahead/6f02e49b82206aa9791332b633d66379 to your computer and use it in GitHub Desktop.
sonarqube {
properties {
property "sonar.host.url", "http://localhost:9000/"
property "sonar.sourceEncoding", "UTF-8"
property "sonar.projectKey", "myProject"
property "sonar.projectName", "myProject"
property "sonar.projectVersion", "V1.0"
property "sonar.sources", "src/main/java"
property "sonar.tests", ["src/test/java", "src/test/kotlin"]
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.coverage.exclusions", "${androidExclusion.join(',')}"
property "sonar.jacoco.reportPaths", "${project.buildDir}/jacoco/testStagingDebugUnitTest.exec"
property "sonar.junit.reportsPath", "${project.buildDir}/test-results/testStagingDebugUnitTest"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment