Skip to content

Commit

Permalink
멀티 모듈 프로젝트로 구성
Browse files Browse the repository at this point in the history
  • Loading branch information
austinhong22 committed Dec 11, 2024
1 parent 47714e0 commit bb79247
Show file tree
Hide file tree
Showing 20 changed files with 39 additions and 11 deletions.
Binary file not shown.
Empty file.
Binary file removed .gradle/7.2/executionHistory/executionHistory.lock
Binary file not shown.
Binary file removed .gradle/7.2/fileChanges/last-build.bin
Binary file not shown.
Binary file removed .gradle/7.2/fileHashes/fileHashes.lock
Binary file not shown.
Empty file removed .gradle/7.2/gc.properties
Empty file.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
3 changes: 3 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions api/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
plugins {
id 'org.springframework.boot' version '3.3.4'
id 'io.spring.dependency-management' version '1.1.6'
}

dependencies {
implementation project(':common')
implementation project(':service')

implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
Binary file not shown.
Binary file not shown.
22 changes: 12 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,18 @@ java {
}
}

repositories {
mavenCentral() // Maven Central에서 의존성 다운로드
}
subprojects {
// 모든 서브프로젝트에 공통 적용할 설정
apply plugin: 'java'

repositories {
mavenCentral() // Maven Central에서 의존성 다운로드
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter' // Spring Boot 핵심 라이브러리
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test' // 테스트용 라이브러리

test {
useJUnitPlatform() //JUnit 테스트 플랫폼 사용
}
}

test {
useJUnitPlatform() //JUnit 테스트 플랫폼 사용
}

3 changes: 3 additions & 0 deletions common/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependencies {

}
Binary file added common/build/libs/common.jar
Binary file not shown.
2 changes: 2 additions & 0 deletions common/build/tmp/jar/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Manifest-Version: 1.0

3 changes: 3 additions & 0 deletions service/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependencies {

}
Binary file added service/build/libs/service.jar
Binary file not shown.
2 changes: 2 additions & 0 deletions service/build/tmp/jar/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Manifest-Version: 1.0

2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
rootProject.name = 'WhaleWatch'

include 'common', 'api', 'service'

0 comments on commit bb79247

Please sign in to comment.