-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
142 lines (110 loc) · 4.78 KB
/
build.gradle
File metadata and controls
142 lines (110 loc) · 4.78 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
plugins {
id 'java'
id 'war'
}
group 'org.scoula'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
sourceSets {
main{
resources {
srcDirs= ['src/main/resources']
}
}
}
ext {
junitVersion = '5.10.2'
springVersion = '5.3.37'
lombokVersion = '1.18.30'
springSecurityVersion='5.8.13'
}
sourceCompatibility = '1.17'
targetCompatibility = '1.17'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
dependencies {
// 스프링
implementation ("org.springframework:spring-context:${springVersion}")
{ exclude group: 'commons-logging', module: 'commons-logging' }
implementation "org.springframework:spring-webmvc:${springVersion}"
implementation 'javax.inject:javax.inject:1'
// AOP
implementation 'org.aspectj:aspectjrt:1.9.20'
implementation 'org.aspectj:aspectjweaver:1.9.20'
// JSP, SERVLET, JSTL
implementation('javax.servlet:javax.servlet-api:4.0.1')
compileOnly 'javax.servlet.jsp:jsp-api:2.1'
implementation 'javax.servlet:jstl:1.2'
// Log4j2 Logging
implementation 'org.apache.logging.log4j:log4j-api:2.18.0'
implementation 'org.apache.logging.log4j:log4j-core:2.18.0'
implementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.18.0'
// PreparedStatement SQL 처리 ? 에 실제 치환값 출력하는 log4j2 라이브러리
implementation 'org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4:1.16'
implementation 'org.apache.logging.log4j:log4j-api:2.0.1'
implementation 'org.apache.logging.log4j:log4j-core:2.0.1'
// xml내 한글 처리
implementation 'xerces:xercesImpl:2.12.2'
compileOnly('javax.servlet:javax.servlet-api:4.0.1')
// 데이터베이스
implementation 'com.mysql:mysql-connector-j:8.1.0'
implementation 'com.zaxxer:HikariCP:2.7.4'
implementation "org.springframework:spring-tx:${springVersion}"
implementation "org.springframework:spring-jdbc:${springVersion}"
implementation 'org.mybatis:mybatis:3.4.6'
implementation 'org.mybatis:mybatis-spring:1.3.2'
// Lombok
compileOnly "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
// Jackson - Json 처리
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.4'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.15.0'
implementation 'com.fasterxml.jackson.core:jackson-core:2.15.0'
// https://mvnrepository.com/artifact/net.coobird/thumbnailator
implementation("net.coobird:thumbnailator:0.4.20")
// 이미지 태그 파싱용
// https://mvnrepository.com/artifact/org.jsoup/jsoup
implementation 'org.jsoup:jsoup:1.17.2'
// 보안
implementation("org.springframework.security:spring-security-web:${springSecurityVersion}")
implementation("org.springframework.security:spring-security-config:${springSecurityVersion}")
implementation("org.springframework.security:spring-security-core:${springSecurityVersion}")
implementation("org.springframework.security:spring-security-taglibs:${springSecurityVersion}")
// Google OAuth2
implementation 'org.springframework.security:spring-security-oauth2-client:5.8.0'
implementation 'org.springframework.security:spring-security-oauth2-core:5.8.0'
implementation 'org.springframework.security:spring-security-web:5.8.0'
// jwt
implementation("io.jsonwebtoken:jjwt-api:0.11.5")
runtimeOnly("io.jsonwebtoken:jjwt-impl:0.11.5")
implementation("io.jsonwebtoken:jjwt-jackson:0.11.5")
// 유효성 검사
implementation 'org.hibernate.validator:hibernate-validator:6.2.5.Final'
// 테스트
testImplementation "org.springframework:spring-test:${springVersion}"
testCompileOnly"org.projectlombok:lombok:${lombokVersion}"
testAnnotationProcessor "org.projectlombok:lombok:${lombokVersion}"
testImplementation 'org.mockito:mockito-core:4.3.1'
testImplementation 'org.mockito:mockito-junit-jupiter:4.3.1'
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
// Swagger
implementation 'io.springfox:springfox-swagger2:2.9.2'
implementation 'io.springfox:springfox-swagger-ui:2.9.2'
// Spring context-support
implementation 'org.springframework:spring-context-support:5.3.33'
// Mail
implementation 'org.springframework:spring-core:5.3.34' // 또는 사용 중인 버전에 맞게
implementation 'org.springframework:spring-context:5.3.34'
implementation 'org.springframework:spring-context-support:5.3.34'
implementation 'javax.mail:mail:1.4.7'
implementation 'org.springframework:spring-context-support'
// PDFBOX
implementation 'org.apache.pdfbox:pdfbox:2.0.27'
}
test {
useJUnitPlatform()
}