From 8c8986079509518293296dabb490c6f73e692183 Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Thu, 4 May 2023 11:48:39 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20koin-annotation=E3=81=AE=E4=BE=9D?= =?UTF-8?q?=E5=AD=98=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index e28896a3..63d100c7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -12,6 +12,7 @@ plugins { id("io.ktor.plugin") version "2.3.0" id("org.graalvm.buildtools.native") version "0.9.21" id("io.gitlab.arturbosch.detekt") version "1.22.0" + id("com.google.devtools.ksp") version "1.8.21-1.0.11" // id("org.jetbrains.kotlin.plugin.serialization") version "1.8.10" } @@ -57,6 +58,10 @@ kotlin { } } +sourceSets.main { + java.srcDirs("build/generated/ksp/main/kotlin") +} + dependencies { implementation("io.ktor:ktor-server-core-jvm:$ktor_version") implementation("io.ktor:ktor-server-auth:$ktor_version") @@ -80,6 +85,10 @@ dependencies { implementation("io.insert-koin:koin-core:$koin_version") implementation("io.insert-koin:koin-ktor:$koin_version") implementation("io.insert-koin:koin-logger-slf4j:$koin_version") + implementation("io.insert-koin:koin-annotations:1.2.0") + ksp("io.insert-koin:koin-ksp-compiler:1.2.0") + + implementation("io.ktor:ktor-client-logging-jvm:$ktor_version") implementation("io.ktor:ktor-server-host-common-jvm:$ktor_version") implementation("io.ktor:ktor-server-status-pages-jvm:$ktor_version")