Last active
January 6, 2021 14:28
-
-
Save azizbekian/32740b151b330f6e6b19542f5abc06c9 to your computer and use it in GitHub Desktop.
SonarQube setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply from: "$project.rootDir/sonar.gradle" | |
buildscript { | |
repositories { | |
... | |
} | |
dependencies { | |
... | |
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.0" | |
} | |
} | |
allprojects { | |
... | |
} | |
subprojects { | |
apply plugin: "org.sonarqube" | |
sonarqube { | |
properties { | |
property "sonar.coverage.jacoco.xmlReportPaths", "$projectDir.parentFile.path/app/build/reports/jacoco/testDevDebugUnitTestCoverage/testDevDebugUnitTestCoverage.xml" | |
} | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment