From 254d3a60fdc1d36475cb62b164d4f7ff717e0c54 Mon Sep 17 00:00:00 2001 From: sunghyun <20190171@inu.ac.kr> Date: Fri, 10 Jan 2025 00:30:34 +0900 Subject: [PATCH] fix : build gradle --- meerket/build.gradle | 6 ++++-- meerket/meerket-application/build.gradle | 7 ++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/meerket/build.gradle b/meerket/build.gradle index 56d8fa11..cbfcaa42 100644 --- a/meerket/build.gradle +++ b/meerket/build.gradle @@ -77,6 +77,8 @@ subprojects { } } -bootJar { - enabled = false +if (project.name != 'meerket-application') { // meerket-application 모듈만 bootJar 활성화 + bootJar { + enabled = false + } } \ No newline at end of file diff --git a/meerket/meerket-application/build.gradle b/meerket/meerket-application/build.gradle index d9e85cc3..cc38165b 100644 --- a/meerket/meerket-application/build.gradle +++ b/meerket/meerket-application/build.gradle @@ -28,14 +28,15 @@ dependencies { } bootJar { - enabled = true // Spring Boot 애플리케이션 실행 가능한 JAR 생성 + enabled = true + archiveFileName = 'meerket-application-0.0.1.jar' manifest { attributes( - 'Main-Class': 'org.j1p5.MeerketApplication' // 실제 진입점 경로로 변경 + 'Main-Class': 'org.j1p5.MeerketApplication' ) } } jar { - enabled = false // 일반 JAR 생성 비활성화 + enabled = false }