diff options
author | Dominik Stadler <centic@apache.org> | 2022-03-24 04:42:27 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2022-03-24 04:42:27 +0000 |
commit | 09e464bb5f6d8880e79a2beed45760ddfafb62a7 (patch) | |
tree | 366caa8a45d0d1aeb35a2b7e5af96952c46f85bf /poi-excelant | |
parent | a59e17590a8077bea775e24776930bd412ef946c (diff) | |
download | poi-09e464bb5f6d8880e79a2beed45760ddfafb62a7.tar.gz poi-09e464bb5f6d8880e79a2beed45760ddfafb62a7.zip |
poi-ooxml-lite: Check in list of classes and xsb-files to avoid the jar-to-test dependency
Avoid running all tests whenever building jars as tests take a long time now
and also cause large memory allocations.
It is nice if the target "jar" is as fast as possible and the list of included
items for ooxml-lite only changes rarely anyway.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899160 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-excelant')
-rw-r--r-- | poi-excelant/build.gradle | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/poi-excelant/build.gradle b/poi-excelant/build.gradle index 12772db7c7..6dac5d9fcb 100644 --- a/poi-excelant/build.gradle +++ b/poi-excelant/build.gradle @@ -62,8 +62,7 @@ final List MAIN_MODULE_PATH = sourceSets.main.runtimeClasspath.findAll{ it.path 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' -final String OOXML_LITE_JAR = "../build/dist/maven/poi-ooxml-lite/poi-ooxml-lite-${project.version}.jar" +final String OOXML_LITE_REPORT = '../src/resources/ooxml-lite-report' final String OOXML_LITE_INCLUDES = "^(com/microsoft/schemas|org/(etsi|openxmlformats|w3/)|org/apache/poi/schemas)" task compileJava9(type: JavaCompile) { |