-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
98 lines (83 loc) · 3.34 KB
/
build.gradle
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
91
92
93
94
95
96
97
98
plugins {
id 'java'
id 'org.springframework.boot' version '3.0.2'
id 'io.spring.dependency-management' version '1.1.0'
id "org.asciidoctor.jvm.convert" version "3.3.2"
}
group = 'com.uliga'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
configurations {
asciidoctorExtensions
compileOnly {
extendsFrom annotationProcessor
}
}
ext {
set('snippetsDir', file("build/generated-snippets"))
}
repositories {
mavenCentral()
}
dependencies {
// thymeleaf
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
// 스프링 부트 3
implementation 'org.springframework.boot:spring-boot-starter-web'
// configuration
implementation 'org.springframework.boot:spring-boot-configuration-processor'
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
// 스프링 데이터 JPA
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// 스프링 레디스
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
// 이메일 모듈
implementation 'org.springframework.boot:spring-boot-starter-mail'
// Validation 모듈 추가
implementation 'org.springframework.boot:spring-boot-starter-validation'
// 스프링 시큐리티
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.security:spring-security-test'
// MyBatis
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.1'
// OAuth
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
// Swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.3'
// actuator`
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// cookie
implementation 'jakarta.servlet:jakarta.servlet-api:6.0.0'
// JWT
compileOnly group: 'io.jsonwebtoken', name: 'jjwt-api', version: '0.11.2'
runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-impl', version: '0.11.2'
runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-jackson', version: '0.11.2'
// MySql
runtimeOnly 'mysql:mysql-connector-java'
// Lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// MockMvc
testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc'
// Junit
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation ('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine' //Junit4제외
}
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.8.2'
// 스프링 시큐리티 테스트
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
// Mockito
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.mockito:mockito-junit-jupiter'
// Hamcrest
testImplementation 'org.hamcrest:hamcrest-library'
}
test {
outputs.dir snippetsDir
useJUnitPlatform()
}