From: Andreas Beeker Date: Wed, 7 Jul 2021 06:26:31 +0000 (+0000) Subject: try to fix new custom Junit Annotation module dependency X-Git-Tag: REL_5_1_0~164 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d11e5ce48fcd048ab2aa02e7fd667647e4eb7ca4;p=poi.git try to fix new custom Junit Annotation module dependency git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891337 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build.gradle b/build.gradle index 05581f8867..29cc23b06e 100644 --- a/build.gradle +++ b/build.gradle @@ -261,6 +261,7 @@ subprojects { // opposed to the recommendation there, it doesn't work to add ... to the dependencies // testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.7.1' // gradles gradle-worker.jar is still not a JPMS module and thus runs as unnamed module + '--add-exports','org.junit.platform.commons/org.junit.platform.commons.util=org.apache.poi.poi', '--add-exports','org.junit.platform.commons/org.junit.platform.commons.util=ALL-UNNAMED', '--add-exports','org.junit.platform.commons/org.junit.platform.commons.logging=ALL-UNNAMED', ]