Skip to content

Commit

Permalink
fix : build gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
sunghyun0610 committed Jan 9, 2025
1 parent 44c398f commit 254d3a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 4 additions & 2 deletions meerket/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ subprojects {
}
}

bootJar {
enabled = false
if (project.name != 'meerket-application') { // meerket-application 모듈만 bootJar 활성화
bootJar {
enabled = false
}
}
7 changes: 4 additions & 3 deletions meerket/meerket-application/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 254d3a6

Please sign in to comment.