fix geedeecee config

This commit is contained in:
Adam 2022-10-04 23:47:30 +02:00
parent d16aedda59
commit 3f49a6504b
2 changed files with 8 additions and 0 deletions

View file

@ -57,6 +57,10 @@ abstract class GDCPlugin @Inject constructor(
dockerComposeUp.configure { dependsOn(dockerComposeBuild) }
dockerComposeRemove.configure { dependsOn(dockerComposeDown) }
target.tasks.withType<DockerComposeExec>().configureEach {
dependsOn(dockerComposeEnvUpdate)
}
target.tasks.withType<GDCCommandTask>().configureEach {
workingDir.convention(gdcSettings.srcDir)
dependsOn(dockerComposeEnvUpdate)

View file

@ -7,6 +7,10 @@ plugins {
description = "Send events from a Factorio server to a Kafka topic "
geedeecee {
srcDir.set(layout.projectDirectory.dir("src"))
}
//val dockerSrcDir: Directory by extra
tasks.dockerComposeUp {