tidy up Gradle config, standardise a group for Factorio Mod tasks
This commit is contained in:
parent
f2ae951b1d
commit
dacb6f62c4
13 changed files with 83 additions and 174 deletions
|
|
@ -1,12 +1,14 @@
|
|||
import dev.adamko.kafkatorio.task.KafkaConsumerGroupsTask
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
|
||||
plugins {
|
||||
dev.adamko.kafkatorio.lang.`kotlin-jvm`
|
||||
kotlin("plugin.serialization")
|
||||
application
|
||||
}
|
||||
|
||||
|
||||
description = """
|
||||
Receive raw Factorio Events from Kafka and process them into targeted topics or data formats.
|
||||
|
||||
|
|
@ -17,6 +19,7 @@ val projectId: String by project.extra
|
|||
|
||||
val kafkaStateDir: Directory = layout.projectDirectory.dir("kafka-state")
|
||||
|
||||
|
||||
dependencies {
|
||||
implementation(platform(projects.modules.versionsPlatform))
|
||||
|
||||
|
|
@ -49,9 +52,6 @@ dependencies {
|
|||
implementation(libs.bundles.hoplite)
|
||||
}
|
||||
|
||||
//configurations.all {
|
||||
// resolutionStrategy.cacheDynamicVersionsFor(1, TimeUnit.MINUTES)
|
||||
//}
|
||||
|
||||
application {
|
||||
mainClass.set("dev.adamko.kafkatorio.processor.EventProcessorKt")
|
||||
|
|
@ -93,7 +93,3 @@ idea {
|
|||
excludeDirs = excludeDirs + kafkaStateDir.asFile
|
||||
}
|
||||
}
|
||||
|
||||
//tasks.withType<KotlinNpmInstallTask>().all {
|
||||
// notCompatibleWithConfigurationCache("error: Projects must be configuring")
|
||||
//}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue