From 09e464bb5f6d8880e79a2beed45760ddfafb62a7 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Thu, 24 Mar 2022 04:42:27 +0000 Subject: 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 --- poi-excelant/build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'poi-excelant') 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) { -- cgit v1.2.3