-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
65 lines (47 loc) · 1.86 KB
/
Copy pathbuild.gradle
File metadata and controls
65 lines (47 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.1'
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'com.chukapoka'
version = '0.0.1-SNAPSHOT'
java {
}
repositories {
mavenCentral()
}
dependencies {
// Spring Boot 웹 애플리케이션을 위한 의존성
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'javax.servlet:javax.servlet-api:4.0.1'
// 개발 중에만 필요한 의존성 (예: 빌드 재시작 등)
developmentOnly 'org.springframework.boot:spring-boot-devtools'
// 테스트를 위한 의존성
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// Lombok 라이브러리를 사용하기 위한 의존성
implementation 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-validation
implementation("org.springframework.boot:spring-boot-starter-validation")
// PostgreSQL JDBC 드라이버 의존성
// runtimeOnly 'org.postgresql:postgresql'
// h2
runtimeOnly 'com.h2database:h2'
// Spring Security 사용 시 필요한 의존성
implementation("org.springframework.boot:spring-boot-starter-security")
// JWT 사용 시 필요한 의존성
implementation("io.jsonwebtoken:jjwt-api:0.11.5")
runtimeOnly("io.jsonwebtoken:jjwt-impl:0.11.5")
runtimeOnly("io.jsonwebtoken:jjwt-jackson:0.11.5")
// Email 인증번호 의존성
implementation 'org.springframework.boot:spring-boot-starter-mail'
implementation group: 'org.glassfish.jaxb', name: 'jaxb-runtime', version: '2.3.2'
// enable production
implementation ("org.springframework.boot:spring-boot-starter-actuator")
// modelmapper
implementation 'org.modelmapper:modelmapper:2.4.4'
}
tasks.named('test') {
useJUnitPlatform()
}