2024-03-04 09:24:57 +00:00
|
|
|
plugins {
|
2024-03-05 03:04:04 +00:00
|
|
|
application
|
2024-03-04 09:24:57 +00:00
|
|
|
kotlin("jvm")
|
|
|
|
id("com.google.devtools.ksp") version "1.9.22-1.0.17"
|
|
|
|
}
|
|
|
|
|
|
|
|
apply {
|
|
|
|
plugin("com.google.devtools.ksp")
|
|
|
|
}
|
|
|
|
|
|
|
|
group = "dev.usbharu"
|
|
|
|
version = "0.0.1"
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation("org.mongodb:mongodb-driver-kotlin-coroutine:5.0.0")
|
2024-03-05 03:04:04 +00:00
|
|
|
implementation(project(":broker"))
|
2024-03-04 09:24:57 +00:00
|
|
|
implementation(project(":common"))
|
|
|
|
implementation(platform("io.insert-koin:koin-bom:3.5.3"))
|
|
|
|
implementation(platform("io.insert-koin:koin-annotations-bom:1.3.1"))
|
|
|
|
implementation("io.insert-koin:koin-core")
|
|
|
|
compileOnly("io.insert-koin:koin-annotations")
|
|
|
|
ksp("io.insert-koin:koin-ksp-compiler:1.3.1")
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
kotlin {
|
|
|
|
jvmToolchain(17)
|
2024-03-05 03:04:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClass = "dev.usbharu.owl.broker.MainKt"
|
2024-03-04 09:24:57 +00:00
|
|
|
}
|