tidy up shared config, start setting up kafka processor

This commit is contained in:
Adam 2021-10-24 14:55:04 +02:00
parent cc1ca86b9c
commit 4329651c86
13 changed files with 332 additions and 4 deletions

View file

@ -1,5 +1,7 @@
plugins {
id("dev.adamko.factoriowebmap.archetype.kotlin-jvm")
application
}
description =
@ -12,3 +14,21 @@ description =
val projectId: String by project.extra
val buildDir: Directory = layout.buildDirectory.dir(projectId).get()
@Suppress("UnstableApiUsage")
dependencies {
implementation("org.apache.kafka:kafka-streams:3.0.0")
implementation(platform(libs.http4k.bom))
implementation(libs.http4k.core)
implementation(libs.http4k.cloudnative)
implementation(libs.http4k.format.json)
implementation(libs.http4k.format.yaml)
implementation(libs.bundles.logging)
}
application {
mainClass.set("dev.adamko.factorioevents.processor.mainKt")
}