chore: fix cache for copyEnv gradle task
This commit is contained in:
+6
-6
@@ -88,13 +88,13 @@ tasks.register<Copy>("copyEnv") {
|
|||||||
exclude()
|
exclude()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
val files =
|
||||||
|
listOf(
|
||||||
|
File("docker/pgadmin.secret"),
|
||||||
|
File("docker/postgresql.secret"),
|
||||||
|
)
|
||||||
|
outputs.files(*files.toTypedArray())
|
||||||
doLast {
|
doLast {
|
||||||
val files =
|
|
||||||
listOf(
|
|
||||||
File("docker/pgadmin.secret"),
|
|
||||||
File("docker/postgresql.secret"),
|
|
||||||
)
|
|
||||||
|
|
||||||
files.forEach {
|
files.forEach {
|
||||||
if (!it.exists()) {
|
if (!it.exists()) {
|
||||||
it.writeText("changeit")
|
it.writeText("changeit")
|
||||||
|
|||||||
Reference in New Issue
Block a user