mirror of
https://github.com/cna-bootcamp/phonebill.git
synced 2025-12-06 16:16:23 +00:00
37 lines
1.2 KiB
Groovy
37 lines
1.2 KiB
Groovy
// Common 모듈: 일반 jar 생성
|
|
// java-library 플러그인 추가로 api/implementation 사용 가능
|
|
apply plugin: 'java-library'
|
|
|
|
// Spring Boot BOM 추가 (의존성 관리를 위해)
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "org.springframework.boot:spring-boot-dependencies:3.3.0"
|
|
}
|
|
}
|
|
|
|
jar {
|
|
enabled = true
|
|
archiveClassifier = ''
|
|
}
|
|
|
|
dependencies {
|
|
// Spring Boot Starters
|
|
api 'org.springframework.boot:spring-boot-starter-web'
|
|
api 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
api 'org.springframework.boot:spring-boot-starter-data-redis'
|
|
api 'org.springframework.boot:spring-boot-starter-security'
|
|
api 'org.springframework.boot:spring-boot-starter-validation'
|
|
|
|
// JWT 라이브러리
|
|
api "io.jsonwebtoken:jjwt-api:${jjwtVersion}"
|
|
runtimeOnly "io.jsonwebtoken:jjwt-impl:${jjwtVersion}"
|
|
runtimeOnly "io.jsonwebtoken:jjwt-jackson:${jjwtVersion}"
|
|
|
|
// MapStruct
|
|
api "org.mapstruct:mapstruct:${mapstructVersion}"
|
|
annotationProcessor "org.mapstruct:mapstruct-processor:${mapstructVersion}"
|
|
|
|
// Jackson
|
|
api 'com.fasterxml.jackson.core:jackson-databind'
|
|
api 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
|
|
} |