Commit 8bec826575b4c2fde30520287e3887c3c1eff64c
1 parent
ec72820c
Exists in
master
Sonar testing
Showing
1 changed file
with
18 additions
and
0 deletions
Show diff stats
app/build.gradle
| ... | ... | @@ -47,6 +47,24 @@ android { |
| 47 | 47 | //property "sonar.java.binaries", "${sourceSets.main.output.classesDir}" |
| 48 | 48 | //property "sonar.login", "admin" |
| 49 | 49 | //property "sonar.password", "admin" |
| 50 | + | |
| 51 | + property "sonar.sources", "src/main/java" | |
| 52 | + // Defines where the java files are | |
| 53 | + property "sonar.binaries", "build/intermediates/javac/excelDebug" | |
| 54 | + //property "sonar.libraries", libraries | |
| 55 | + // Defines where the xml files are | |
| 56 | + property "sonar.java.binaries", "build/intermediates/javac/excelDebug" | |
| 57 | + //property "sonar.java.libraries", libraries | |
| 58 | + | |
| 59 | + //property "sonar.tests", "src/test/java, src/androidTest/java" | |
| 60 | + | |
| 61 | + //property "sonar.java.test.binaries", "build/intermediates/classes/debug" | |
| 62 | + //property "sonar.java.test.libraries", libraries | |
| 63 | + | |
| 64 | + //property "sonar.jacoco.reportPath", "build/jacoco/testDebugUnitTest.exec" | |
| 65 | + //property "sonar.java.coveragePlugin", "jacoco" | |
| 66 | + //property "sonar.junit.reportsPath", "build/test-results/Debug" | |
| 67 | + //property "sonar.android.lint.report", "build/outputs/lint-results.xml" | |
| 50 | 68 | } |
| 51 | 69 | } |
| 52 | 70 | } | ... | ... |