Правки distDockerCompose в связи с обновлением плагина gradle-ncore

This commit is contained in:
2026-06-19 12:18:06 +03:00
parent 069c6ffbc2
commit b43e42ed3a
2 changed files with 5 additions and 2 deletions

View File

@@ -176,7 +176,8 @@ task distDockerCompose(type: Copy){
from(project.file("config")){ from(project.file("config")){
into "config" into "config"
} }
from(project.file("build/rdbDocker").listFiles().find {it.getName().endsWith(".fdb")}){ def dbDir = project.properties['docker.dbDir']
from(project.file("build/rdbDocker${dbDir ? "/${dbDir.toString()}" : ""}").listFiles().find {it.getName().endsWith(".fdb")}){
into "db/<%%RESERVED_NAME%%>.fdb" into "db/<%%RESERVED_NAME%%>.fdb"
exclude "Dockerfile" exclude "Dockerfile"
} }

View File

@@ -5,4 +5,6 @@ org.gradle.java.home=/home/jenkins/.sdkman/candidates/java/current
org.gradle.configureondemand=true org.gradle.configureondemand=true
pluginVersion=3.1.21 pluginVersion=3.1.21
biz.redsoft.public.repo=https://nexus.red-soft.ru/repository/public biz.redsoft.public.repo=https://nexus.red-soft.ru/repository/public
biz.redsoft.private.repo=https://nexus.red-soft.ru/repository/releases biz.redsoft.private.repo=https://nexus.red-soft.ru/repository/releases
docker.rdbversion = 5.2.1
docker.dbDir = 5