diff --git a/build.gradle b/build.gradle index 50e4c78..729e017 100644 --- a/build.gradle +++ b/build.gradle @@ -46,6 +46,15 @@ compileJava { } war { + // 2025.10.13 - weblogic 대응 (weblogic-web.xml -> web.xml 강제 사용) + def profile = project.findProperty("profile") ?: "tomcat" + + if (profile == "weblogic") { + webXml = file("WebContent/WEB-INF/weblogic-web.xml") + } + archiveFileName = "eapim-admin.war" + duplicatesStrategy = DuplicatesStrategy.WARN + exclude '**/persistence.xml' exclude '**/context.xml' }