@@ -4,7 +4,7 @@ plugins {
44 id ' io.spring.dependency-management' version ' 1.1.5'
55}
66
7- group = ' knu.univ'
7+ group = ' knu.univ.cse.server '
88version = ' 0.0.1-SNAPSHOT'
99
1010java {
@@ -23,19 +23,57 @@ repositories {
2323 mavenCentral()
2424}
2525
26+ test {
27+ testLogging {
28+ events " started" , " passed" , " skipped" , " failed"
29+ exceptionFormat " full"
30+ showStandardStreams = true
31+
32+ afterTest { descriptor , result ->
33+ def testResult = result. resultType
34+ if (testResult == TestResult.ResultType . SUCCESS ) {
35+ println " \u 001B[32m✔ 테스트 성공: ${ descriptor.parent.displayName} > ${ descriptor.displayName} \u 001B[0m"
36+ } else if (testResult == TestResult.ResultType . FAILURE ) {
37+ println " \u 001B[31m✖ 테스트 실패: ${ descriptor.parent.displayName} > ${ descriptor.displayName} \u 001B[0m"
38+ } else if (testResult == TestResult.ResultType . SKIPPED ) {
39+ println " \u 001B[33m- 테스트 스킵됨: ${ descriptor.parent.displayName} > ${ descriptor.displayName} \u 001B[0m"
40+ }
41+ }
42+ }
43+ }
44+
2645dependencies {
46+ // Spring Boot Starters
2747 implementation ' org.springframework.boot:spring-boot-starter-data-jpa'
2848 implementation ' org.springframework.boot:spring-boot-starter-security'
2949 implementation ' org.springframework.boot:spring-boot-starter-validation'
3050 implementation ' org.springframework.boot:spring-boot-starter-web'
51+ implementation ' org.springframework.boot:spring-boot-starter-oauth2-client'
52+
53+ // JSON Web Token (JWT)
54+ implementation ' io.jsonwebtoken:jjwt-api:0.11.5'
55+ implementation ' io.jsonwebtoken:jjwt-impl:0.11.5'
56+ implementation ' io.jsonwebtoken:jjwt-jackson:0.11.5'
57+
58+ // Lombok
3159 compileOnly ' org.projectlombok:lombok'
32- runtimeOnly ' org.postgresql:postgresql'
3360 annotationProcessor ' org.projectlombok:lombok'
61+
62+ // Database
63+ implementation ' com.mysql:mysql-connector-j'
64+
65+ // Testing
3466 testImplementation ' org.springframework.boot:spring-boot-starter-test'
35- testImplementation ' org.springframework.security:spring-security-test'
3667 testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
68+
69+ // Api Documentation
70+ implementation ' org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0'
71+
72+ // CSV
73+ implementation ' com.opencsv:opencsv:5.7.1'
3774}
3875
76+
3977tasks. named(' test' ) {
4078 useJUnitPlatform()
4179}
0 commit comments