lenient Docker Env properties
This commit is contained in:
parent
deefafe255
commit
dd9c9500d3
2 changed files with 7 additions and 3 deletions
|
|
@ -61,13 +61,15 @@ tasks.dockerComposeUp {
|
|||
}
|
||||
|
||||
|
||||
val kafkatorioServerToken: String by project
|
||||
val kafkatorioServerToken: String? by project
|
||||
|
||||
|
||||
tasks.dockerComposeEnvUpdate {
|
||||
envProperties {
|
||||
put("FACTORIO_VERSION", libs.versions.factorio)
|
||||
put("KAFKATORIO_TOKEN", kafkatorioServerToken)
|
||||
kafkatorioServerToken?.let { token ->
|
||||
put("KAFKATORIO_TOKEN", token)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue