bump project to 0.7.0 (and fix docker .env task for all docker .envs)

This commit is contained in:
Adam 2022-07-06 17:40:21 +02:00
parent 5fcb831df2
commit 665327e010
16 changed files with 78 additions and 28 deletions

View file

@ -1,3 +1,4 @@
import dev.adamko.kafkatorio.task.DockerEnvUpdateTask
import dev.adamko.kafkatorio.task.KafkaConsumerGroupsTask
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
@ -106,3 +107,14 @@ idea {
)
}
}
val dockerEnvUpdate by tasks.registering(DockerEnvUpdateTask::class) {
dotEnvFile.set(layout.projectDirectory.file("docker/.env"))
properties(
"COMPOSE_PROJECT_NAME" to rootProject.name,
"KAFKATORIO_VERSION" to project.version,
)
}
tasks.assemble { dependsOn(dockerEnvUpdate) }

View file

@ -1,3 +1,3 @@
# Do not edit manually. This file was created with task 'dockerEnv'
# Do not edit manually. This file was created with task 'dockerEnvUpdate'
COMPOSE_PROJECT_NAME=kafkatorio
KAFKATORIO_VERSION=0.6.1
KAFKATORIO_VERSION=0.7.0