jacoco test reports for core

auto-update
Zlatin Balevsky 2022-02-12 10:55:58 +00:00
parent 97d7bec733
commit 0205b62804
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 13 additions and 2 deletions

View File

@ -2,6 +2,7 @@
plugins {
id 'java-library'
id 'maven-publish'
id 'jacoco'
}
dependencies {
@ -29,10 +30,20 @@ configurations.testImplementation {
exclude group:'org.codehaus.groovy', module:'groovy-testng'
}
test.doFirst {
jvmArgs=["--add-opens","java.base/java.lang=ALL-UNNAMED",
test {
doFirst {
jvmArgs=["--add-opens","java.base/java.lang=ALL-UNNAMED",
"--add-opens","java.base/sun.nio.fs=ALL-UNNAMED",
"--add-opens","java.base/java.nio=ALL-UNNAMED"]
}
finalizedBy jacocoTestReport
}
jacocoTestReport {
reports {
xml.required = true
html.outputLocation = layout.buildDirectory.dir('jacocoHtml')
}
}
// publish core to local maven repo for sister projects