-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
90 lines (69 loc) · 2.58 KB
/
build.gradle
File metadata and controls
90 lines (69 loc) · 2.58 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
import java.beans.PropertyEditorSupport
plugins {
id 'java'
id 'org.springframework.boot' version '3.4.0'
id 'io.spring.dependency-management' version '1.1.6'
}
group = 'haru'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
bootJar {
enabled = true
}
jar {
enabled = false
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'com.mysql:mysql-connector-j:8.2.0'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-web'
// geom
implementation 'org.hibernate.orm:hibernate-spatial:6.4.4.Final'
implementation 'com.querydsl:querydsl-spatial'
//swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0' // swagger 1.x 버전은 스프링 2.x 버전과 맞음, 현재는 스프링 3.x를 쓰기에 2.x 사용이 맞음
// JWT
implementation 'io.jsonwebtoken:jjwt-api:0.12.3'
implementation 'io.jsonwebtoken:jjwt-impl:0.12.3'
implementation 'io.jsonwebtoken:jjwt-jackson:0.12.3'
implementation 'com.nimbusds:nimbus-jose-jwt:9.37.2' // 최신 버전으로 변경
// Redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
// bouncycastle
implementation 'org.bouncycastle:bcprov-jdk15on:1.70' // 최신 버전으로 변경
implementation 'org.bouncycastle:bcpkix-jdk15on:1.70'
//s3
implementation 'software.amazon.awssdk:s3:2.20.20' // AWS S3 SDK 의존성
//email
implementation 'org.springframework.boot:spring-boot-starter-mail'
// JUnit 5 (Jupiter)
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2'
// Mockito
testImplementation 'org.mockito:mockito-core:4.2.0'
testImplementation 'org.mockito:mockito-junit-jupiter:4.2.0'
// H2 Database (테스트 환경용 인메모리 DB)
implementation 'com.h2database:h2'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks.named('test') {
useJUnitPlatform()
}