summaryrefslogtreecommitdiffstats
path: root/poi-excelant
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2021-10-08 23:15:49 +0000
committerAndreas Beeker <kiwiwings@apache.org>2021-10-08 23:15:49 +0000
commit79a476bcaaea7c3fe522e9e5bed5b9a29eedb094 (patch)
tree01d250c38a5663efd7c3cfd45838cb5f1367eaf1 /poi-excelant
parent60e9de813e655a82bb01d69f91072f72be7c025a (diff)
downloadpoi-79a476bcaaea7c3fe522e9e5bed5b9a29eedb094.tar.gz
poi-79a476bcaaea7c3fe522e9e5bed5b9a29eedb094.zip
try to fix Java 11 build error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894050 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-excelant')
-rw-r--r--poi-excelant/build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-excelant/build.gradle b/poi-excelant/build.gradle
index 968c8b4792..cd9b762067 100644
--- a/poi-excelant/build.gradle
+++ b/poi-excelant/build.gradle
@@ -54,7 +54,7 @@ final String MODULE_NAME = 'org.apache.poi.excelant'
final Pattern MODULE_NOT_REGEX = ~'((poi|poi-ooxml|poi-scratchpad)[/\\\\][^/\\\\]+$|batik-script)'
final Pattern MODULE_REGEX = ~'\\.jar$'
final List MAIN_MODULE_PATH = sourceSets.main.runtimeClasspath.findAll{ it.path =~ MODULE_REGEX }.collect{ it.parent }.unique()
-final List TEST_MODULE_PATH = sourceSets.test.runtimeClasspath.findAll{ it.path =~ MODULE_REGEX && !(it.path =~ MODULE_NOT_REGEX) }.collect{ it.parent }.unique()
+final List TEST_MODULE_PATH = configurations.testRuntimeClasspath.findAll{ it.path =~ MODULE_REGEX && !(it.path =~ MODULE_NOT_REGEX) }.collect{ it.parent }.unique()
final String OOXML_LITE_AGENT = "../build/dist/maven/poi-ooxml-lite-agent/poi-ooxml-lite-agent-${project.version}.jar"
final String OOXML_LITE_REPORT = '../build/ooxml-lite-report'