mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-26 17:37:33 +00:00
build(datahub-frontend): enable code-coverage (#12072)
This commit is contained in:
parent
1f389c1d36
commit
a68836e14c
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user