File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ sonarqube {
34
34
property(" sonar.sourceEncoding" , " UTF-8" )
35
35
property(" sonar.host.url" , " https://sonarcloud.io" )
36
36
37
- property(" sonar.binaries" , " app/build/ tmp/kotlin-classes/debug" )
37
+ property(" sonar.binaries" , project( " : app" ) . layout . buildDirectory . dir( " tmp/kotlin-classes/debug" ) . get() . asFile . absolutePath )
38
38
// sonar requires absolute path for lint and jacoco reports!
39
- property(" sonar.androidLint.reportPaths" , " app/build/ reports/lint-results-debug.xml" )
40
- property(" sonar.coverage.jacoco.xmlReportPaths" , " app/build/ mergedReportDir/jacocoTestReport/jacocoTestReport.xml" )
39
+ property(" sonar.androidLint.reportPaths" , project( " : app" ) . layout . buildDirectory . dir( " reports/lint-results-debug.xml" ) . get() . asFile . absolutePath )
40
+ property(" sonar.coverage.jacoco.xmlReportPaths" , project( " : app" ) . layout . buildDirectory . dir( " mergedReportDir/jacocoTestReport/jacocoTestReport.xml" ) . get() . asFile . absolutePath )
41
41
}
42
42
}
You can’t perform that action at this time.
0 commit comments