build(datahub-frontend): enable code-coverage (#12072)

This commit is contained in:
Chakru 2024-12-10 23:24:43 +05:30 committed by GitHub
parent 1f389c1d36
commit a68836e14c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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'
@ -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 {