From b69b8053c103796e9006f35dd65760ce398700bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=8F=84=EA=B2=BD?= Date: Tue, 9 Jan 2024 12:20:46 +0900 Subject: [PATCH 1/4] Add APACHE_POI_VERSION --- buildSrc/src/main/kotlin/DependencyVersions.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildSrc/src/main/kotlin/DependencyVersions.kt b/buildSrc/src/main/kotlin/DependencyVersions.kt index fb4b898..5f29494 100644 --- a/buildSrc/src/main/kotlin/DependencyVersions.kt +++ b/buildSrc/src/main/kotlin/DependencyVersions.kt @@ -13,4 +13,6 @@ object DependencyVersions { const val MOCKK_VERSION = "1.12.3" const val SPRING_MOCKK_VERSION = "3.1.1" const val NIMBUS_VERSION = "9.21" + const val APACHE_POI_VERSION = "5.0.0" + const val APACHE_POI_OOXML = "5.0.0" } From 86efb15a91513dad4ad6b15c8c25b99c3597f525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=8F=84=EA=B2=BD?= Date: Tue, 9 Jan 2024 13:42:03 +0900 Subject: [PATCH 2/4] Add Dependencies APACHE_POI --- buildSrc/src/main/kotlin/Dependencies.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index f4267ce..b2000fc 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -1,4 +1,5 @@ object Dependencies { + // ktlint const val KTLINT = "com.pinterest:ktlint:${DependencyVersions.KTLINT_VERSION}" @@ -58,4 +59,8 @@ object Dependencies { // cloud config const val CLOUD_CONFIG = "org.springframework.cloud:spring-cloud-config-client" + + // apache poi + const val APACHE_POI = "org.apache.poi:poi:${DependencyVersions.APACHE_POI_VERSION}" + const val APACHE_POI_OOXML = "org.apache.poi:poi-ooxml${DependencyVersions.APACHE_POI_OOXML}" } From 8647323a1b851fda07927a771e233710270f85de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=8F=84=EA=B2=BD?= Date: Tue, 9 Jan 2024 13:44:07 +0900 Subject: [PATCH 3/4] ktlint --- .../kotlin/com/xquare/v1userservice/user/router/UserHandler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user-infrastructure/src/main/kotlin/com/xquare/v1userservice/user/router/UserHandler.kt b/user-infrastructure/src/main/kotlin/com/xquare/v1userservice/user/router/UserHandler.kt index 680953a..51891f8 100644 --- a/user-infrastructure/src/main/kotlin/com/xquare/v1userservice/user/router/UserHandler.kt +++ b/user-infrastructure/src/main/kotlin/com/xquare/v1userservice/user/router/UserHandler.kt @@ -133,7 +133,7 @@ class UserHandler( accountId = this.accountId, password = this.password, name = this.name, - profileFileName = this.profileFileName?: "", + profileFileName = this.profileFileName ?: "", classNum = this.classNum, grade = this.grade, num = this.num, From cb3ce3a21ae9b0c484bcbcf05dc0af20aca700de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=8F=84=EA=B2=BD?= Date: Tue, 9 Jan 2024 13:56:33 +0900 Subject: [PATCH 4/4] Add build.gradle APACHE_POI --- user-infrastructure/build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/user-infrastructure/build.gradle.kts b/user-infrastructure/build.gradle.kts index d1af1d0..5e57ea4 100644 --- a/user-infrastructure/build.gradle.kts +++ b/user-infrastructure/build.gradle.kts @@ -35,7 +35,8 @@ dependencies { kapt(Dependencies.CONFIGURATION_PROCESSOR) implementation(Dependencies.REACTIVE_REDIS) implementation(Dependencies.CLOUD_CONFIG) - + implementation(Dependencies.APACHE_POI) + implementation(Dependencies.APACHE_POI_OOXML) implementation(project(":user-domain")) }