forked from KB-its-your-life-Final-Project/FinalProjectBack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
158 lines (116 loc) · 4.88 KB
/
build.gradle
File metadata and controls
158 lines (116 loc) · 4.88 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
plugins {
id 'java'
id 'war'
}
group 'com.lighthouse'
// version '1.0-/SNAPSHOT'
war {
archiveFileName = 'ROOT.war'
}
repositories {
mavenCentral()
}
ext {
springVersion = '5.3.38'
servletApiVersion = '4.0.1'
annotationApiVersion = '1.3.2'
lombokVersion = '1.18.30'
jacksonVersion = '2.15.2'
junitVersion = '5.11.0'
logbackVersion = '1.5.18'
log4jdbcVersion = '1.16'
mysqlJDBCVersion = '8.4.0'
hikariCpVersion = '2.7.4'
mybatisVersion = '3.5.19'
mybatisSpringVersion = '2.0.6'
hikariCpVersion = '2.7.4'
swaggerVersion = '2.9.2'
httpCoreVersion = '4.4.15'
httpClientVersion = '4.5.13'
springSecurityVersion='5.8.13'
jjwtVersion='0.11.5'
aopVersion='1.9.20'
}
sourceCompatibility = '17'
targetCompatibility = '17'
tasks.withType(JavaCompile).configureEach {
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'
// SERVLET
implementation "javax.servlet:javax.servlet-api:${servletApiVersion}"
// Annotation
implementation "javax.annotation:javax.annotation-api:${annotationApiVersion}"
// AOP
implementation "org.aspectj:aspectjrt:${aopVersion}"
implementation "org.aspectj:aspectjweaver:${aopVersion}"
// Logback (Log4j2 제거)
implementation "ch.qos.logback:logback-classic:${logbackVersion}"
// log4jdbc (logback 연동)
implementation "org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4.1:${log4jdbcVersion}"
// 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:${jacksonVersion}"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jacksonVersion}"
// Xml 응답 처리
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jacksonVersion}"
//Map sTruct
implementation 'org.mapstruct:mapstruct:1.5.5.Final'
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final'
annotationProcessor 'org.projectlombok:lombok-mapstruct-binding:0.2.0'
// 테스트
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}")
testRuntimeOnly("org.junit.platform:junit-platform-engine:1.9.2")
testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.9.2")
// Google AI Studio (Gemini) - REST API 직접 사용
//데이터베이스
implementation "com.mysql:mysql-connector-j:${mysqlJDBCVersion}"
implementation "com.zaxxer:HikariCP:${hikariCpVersion}"
implementation "org.springframework:spring-tx:${springVersion}"
implementation "org.springframework:spring-jdbc:${springVersion}"
implementation "org.mybatis:mybatis:${mybatisVersion}"
implementation "org.mybatis:mybatis-spring:${mybatisSpringVersion}"
// swagger
implementation "io.springfox:springfox-swagger2:${swaggerVersion}"
implementation "io.springfox:springfox-swagger-ui:${swaggerVersion}"
// rest template
implementation "org.apache.httpcomponents:httpcore:${httpCoreVersion}"
implementation "org.apache.httpcomponents:httpclient:${httpClientVersion}"
// email
implementation 'javax.mail:mail:1.4.7'
implementation 'com.sun.mail:jakarta.mail:1.6.7'
implementation 'javax.activation:activation:1.1.1'
implementation "org.springframework:spring-context-support:${springVersion}"
// security
implementation "org.springframework.security:spring-security-web:$springSecurityVersion"
implementation "org.springframework.security:spring-security-config:$springSecurityVersion"
implementation "org.springframework.security:spring-security-core:$springSecurityVersion"
// jwt
implementation "io.jsonwebtoken:jjwt-api:$jjwtVersion"
runtimeOnly "io.jsonwebtoken:jjwt-impl:$jjwtVersion"
implementation "io.jsonwebtoken:jjwt-jackson:$jjwtVersion"
// env 설정
implementation 'io.github.cdimascio:dotenv-java:3.0.0'
implementation 'io.codef.api:easycodef-java:1.0.6'
// Mockito
testImplementation 'org.mockito:mockito-core:5.11.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.11.0'
// 테스트용 assertThat
testImplementation 'org.assertj:assertj-core:3.24.2'
}
test {
useJUnitPlatform()
}