-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
111 lines (85 loc) · 3.67 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
99
100
101
102
103
104
105
106
107
108
109
110
111
plugins {
id 'java'
id 'war'
}
group 'com.kb'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
ext {
junitVersion = '5.9.2'
springVersion = '5.3.37'
lombokVersion = '1.18.30'
springSecurityVersion='5.8.13'
}
sourceCompatibility = '17'
targetCompatibility = '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'
// Logging
implementation 'org.slf4j:slf4j-api:2.0.9'
runtimeOnly 'org.slf4j:jcl-over-slf4j:2.0.9'
runtimeOnly 'org.apache.logging.log4j:log4j-slf4j-impl:2.20.0' // Log4j 2.x와 SLF4J 연결
implementation 'org.apache.logging.log4j:log4j-core:2.20.0' // Log4j 2.x 코어 라이브러리
implementation 'org.apache.logging.log4j:log4j-api:2.20.0' // Log4j 2.x API
// xml내 한글 처리
implementation 'xerces:xercesImpl:2.12.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.mysql:mysql-connector-j:8.1.0'
implementation 'com.zaxxer:HikariCP:2.7.4'
implementation ('org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE') {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
}
implementation "org.springframework:spring-tx:${springVersion}"
implementation "org.springframework:spring-jdbc:${springVersion}"
// MyBatis
implementation 'org.mybatis:mybatis:3.4.6'
implementation 'org.mybatis:mybatis-spring:1.3.2'
// log4JDBC
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'
// 보안
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}")
// jjwt
implementation("io.jsonwebtoken:jjwt-api:0.11.5")
runtimeOnly("io.jsonwebtoken:jjwt-impl:0.11.5")
implementation("io.jsonwebtoken:jjwt-jackson:0.11.5")
// 테스트
testImplementation "org.springframework:spring-test:${springVersion}"
testCompileOnly"org.projectlombok:lombok:${lombokVersion}"
testAnnotationProcessor "org.projectlombok:lombok:${lombokVersion}"
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
// https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui
implementation group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.9.2'
implementation group: 'io.springfox', name: 'springfox-swagger2', version: '2.9.2'
// https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1'
}
test {
useJUnitPlatform()
}