Skip to content

Commit

Permalink
build(datahub-frontend): enable code-coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
chakru-r committed Dec 10, 2024
1 parent 0a2ac70 commit 933d10c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion datahub-frontend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ plugins {
id 'org.gradle.playframework'
}

apply from: "../gradle/versioning/versioning.gradle"
apply from: '../gradle/versioning/versioning.gradle'
apply from: './play.gradle'
apply from: '../gradle/coverage/java-coverage.gradle'

ext {
docker_repo = 'datahub-frontend-react'
Expand All @@ -18,6 +19,13 @@ java {
}
}

test {
jacoco {
// jacoco instrumentation is failing when dealing with code of this dependency, excluding it.
excludes = ["com/gargoylesoftware/**"]
}
}

model {
// Must specify the dependency here as "stage" is added by rule based model.
tasks.myTar {
Expand Down

0 comments on commit 933d10c

Please sign in to comment.