7b3807300b
- Spring @ControllerAdvice를 사용하여 예외 처리 로직 중앙화 - 4xx, 5xx 오류에 대한 일관된 JSON 응답 형식 적용 - elink-online-common MessageUtil 클래스에 makeJsonErrorMessage 메소드 수정
30 lines
489 B
Groovy
30 lines
489 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
group = 'com.eactive.eai'
|
|
version = '1.0.0'
|
|
|
|
java {
|
|
sourceCompatibility = '17'
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.2'
|
|
implementation 'org.apache.httpcomponents.client5:httpclient5:5.2.1'
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|