Skip to content

Commit

Permalink
Reporting coverage across subprojects (#1374)
Browse files Browse the repository at this point in the history
* JaCoCo config

* JaCoCo config

* JaCoCo config

* JaCoCo config

* JaCoCo config
  • Loading branch information
antvaset authored Jul 3, 2024
1 parent bf1c67f commit 82b3584
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Src/java/engine-fhir/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,22 @@ generateSources {
"-p org.hl7.fhirpath.tests")
}
}
}

jacocoTestReport {
dependsOn ':cql-to-elm:test'
dependsOn ':engine:test'
dependsOn ':engine-fhir:test'

sourceDirectories.setFrom(files(
"${projectDir}/../cql-to-elm/src/main/java",
"${projectDir}/../engine/src/main/java",
"${projectDir}/../engine-fhir/src/main/java",
))

classDirectories.setFrom(files(
"${projectDir}/../cql-to-elm/build/classes/java/main",
"${projectDir}/../engine/build/classes/java/main",
"${projectDir}/../engine-fhir/build/classes/java/main",
))
}
15 changes: 15 additions & 0 deletions Src/java/engine/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,18 @@ dependencies {
testImplementation project(':elm-jackson')
testImplementation 'org.mockito:mockito-core:5.4.0'
}

jacocoTestReport {
dependsOn ':cql-to-elm:test'
dependsOn ':engine:test'

sourceDirectories.setFrom(files(
"${projectDir}/../cql-to-elm/src/main/java",
"${projectDir}/../engine/src/main/java",
))

classDirectories.setFrom(files(
"${projectDir}/../cql-to-elm/build/classes/java/main",
"${projectDir}/../engine/build/classes/java/main",
))
}

0 comments on commit 82b3584

Please sign in to comment.