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
This commit is contained in:
Andreas Beeker 2021-07-07 06:26:31 +00:00
parent 30c558ff9a
commit d11e5ce48f
1 changed files with 1 additions and 0 deletions

View File

@ -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',
]