From 49616cdd84202af5577f5f005c75111cbec01562 Mon Sep 17 00:00:00 2001 From: rinjae Date: Tue, 30 Jun 2026 09:27:38 +0900 Subject: [PATCH] =?UTF-8?q?build.gradle=20=EC=97=85=EB=8D=B0=EC=9D=B4?= =?UTF-8?q?=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle b/build.gradle index c712469..63f5ede 100644 --- a/build.gradle +++ b/build.gradle @@ -94,6 +94,13 @@ dependencies { /* Custom Libs */ implementation fileTree(dir: 'libs', include: ['*.jar']) + /* 외부 provided 라이브러리 (예: Tomcat lib/damo-manager.jar). compileOnly 라 WAR 미포함. + CI 는 Jenkinsfile EXT_LIB_DIR(-PextLibDir) 로 경로 주입, 로컬은 미설정 시 가드로 스킵. */ + def extLibDir = project.findProperty('extLibDir') ?: System.getenv('EXT_LIB_DIR') + if (extLibDir && file(extLibDir).isDirectory()) { + compileOnly fileTree(dir: extLibDir, include: ['*.jar']) + } + //implementation "org.dom4j:dom4j:2.1.3" //implementation "com.rabbitmq:amqp-client:3.6.6"