Merge pull request #5754 from vector-im/feature/adm/including-app-module-in-coverage

Fixing missing :vector test coverage in Jacoco report
This commit is contained in:
Benoit Marty 2022-04-13 16:48:11 +02:00 committed by GitHub
commit 619ac2a9d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ def initializeReport(report, projects, classExcludes) {
projects.each { project -> projects.each { project ->
switch (project) { switch (project) {
case { project.plugins.hasPlugin("com.android.application") }: case { project.plugins.hasPlugin("com.android.application") }:
androidClassDirs.add("${project.buildDir}/tmp/kotlin-classes/debug") androidClassDirs.add("${project.buildDir}/tmp/kotlin-classes/gplayDebug")
androidSourceDirs.add("${project.projectDir}/src/main/kotlin") androidSourceDirs.add("${project.projectDir}/src/main/kotlin")
androidSourceDirs.add("${project.projectDir}/src/main/java") androidSourceDirs.add("${project.projectDir}/src/main/java")
break break