Skip to content

Commit

Permalink
[KAN-52] 백엔드 서버에 ES 라이브러리 세팅 및 기본 세팅, 음식점 Dto 변경 - Test
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkyoungdeok committed May 11, 2024
1 parent de301d8 commit 7144261
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
20 changes: 10 additions & 10 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@ plugins {
id("org.springframework.boot") version "2.7.5"
id("io.spring.dependency-management") version "1.0.15.RELEASE"
id("org.jlleitschuh.gradle.ktlint") version "11.3.1"
id("io.gitlab.arturbosch.detekt") version "1.21.0"
// id("io.gitlab.arturbosch.detekt") version "1.23.1"
id("org.jetbrains.dokka") version "1.7.20"
id("org.jetbrains.kotlinx.kover") version "0.7.3"

kotlin("jvm") version "1.7.0"
kotlin("plugin.spring") version "1.7.0"
kotlin("plugin.jpa") version "1.7.0"
kotlin("jvm") version "1.9.0"
kotlin("plugin.spring") version "1.9.0"
kotlin("plugin.jpa") version "1.9.0"
kotlin("kapt") version "1.5.30"
}

group = "com.restaurant"
version = "0.0.1-SNAPSHOT"

detekt {
toolVersion = "1.20.0"
config = files("config/detekt/detekt.yml")
buildUponDefaultConfig = true
}
// detekt {
// toolVersion = "1.23.1"
// config = files("config/detekt/detekt.yml")
// buildUponDefaultConfig = true
// }

java {
sourceCompatibility = JavaVersion.VERSION_17
Expand Down Expand Up @@ -92,7 +92,7 @@ dependencies {
testImplementation("junit", "junit", "4.13.2")
testImplementation("io.kotest:kotest-runner-junit5:5.5.4")
testImplementation("io.kotest.extensions:kotest-extensions-spring:1.1.2")
testImplementation("io.mockk:mockk:1.12.0")
testImplementation("io.mockk:mockk:1.12.4")

// TestContainers
testImplementation("org.testcontainers:testcontainers:1.17.1")
Expand Down
5 changes: 3 additions & 2 deletions config/detekt/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ complexity:
thresholdInInterfaces: 11
thresholdInObjects: 11
thresholdInEnums: 11
ignoreDeprecated: true
ignoreDeprecated: false
ignorePrivate: false
ignoreOverridden: false

Expand Down Expand Up @@ -369,6 +369,7 @@ naming:
active: true
excludes:
[
"**/entity/**",
"**/test/**",
"**/androidTest/**",
"**/commonTest/**",
Expand Down Expand Up @@ -918,4 +919,4 @@ style:
"**/iosTest/**",
]
excludeImports:
- "java.util.*"
- "java.util.*"
6 changes: 5 additions & 1 deletion src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@ jwt:
aws:
accessKey: ${AWS_ACCESS_KEY:test}
secretKey: ${AWS_SECRET_KEY:test}
sender-email: ${SENDER_EMAIL:[email protected]}
sender-email: ${SENDER_EMAIL:[email protected]}

es:
host: localhost
port: 9200

0 comments on commit 7144261

Please sign in to comment.