Skip to content

Commit

Permalink
[chore] #5 bootJar & jar 세팅
Browse files Browse the repository at this point in the history
  • Loading branch information
SunwoongH committed Nov 9, 2023
1 parent 3728455 commit 0e069b5
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
4 changes: 4 additions & 0 deletions api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ dependencies {
implementation project(path: ':domain')
// common dependency
implementation project(path: ':common')
}

jar {
enabled = false
}
8 changes: 0 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,4 @@ subprojects {
tasks.named('test') {
useJUnitPlatform()
}

bootJar {
enabled = false
}

jar {
enabled = true
}
}
8 changes: 8 additions & 0 deletions common/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
dependencies {
// spring boot web
implementation 'org.springframework.boot:spring-boot-starter-web'
}

bootJar {
enabled = false
}

jar {
enabled = true
}
8 changes: 8 additions & 0 deletions domain/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,12 @@ dependencies {
runtimeOnly 'com.h2database:h2'
// common dependency
implementation project(path: ':common')
}

bootJar {
enabled = false
}

jar {
enabled = true
}

0 comments on commit 0e069b5

Please sign in to comment.