- EXT_LIB_DIR 환경변수 및 관련 빌드 파라미터 제거 - build.gradle: 불필요 코드/설정 제거 및 의존성 최적화
This commit is contained in:
+3
-9
@@ -91,15 +91,9 @@ dependencies {
|
||||
//implementation project(':kjb-safedb')
|
||||
implementation project(":eapim-admin-djb")
|
||||
|
||||
/* 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'])
|
||||
}
|
||||
/* Custom Libs (damo-manager.jar 는 Tomcat lib 가 런타임 제공 → compileOnly, WAR 미포함) */
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'], exclude: ['damo-manager.jar'])
|
||||
compileOnly files('libs/damo-manager.jar')
|
||||
|
||||
//implementation "org.dom4j:dom4j:2.1.3"
|
||||
//implementation "com.rabbitmq:amqp-client:3.6.6"
|
||||
|
||||
Reference in New Issue
Block a user