exclude .secret prefixed files from archives

This commit is contained in:
Adam 2022-06-19 10:31:38 +02:00
parent 0c6f2a4bfe
commit 723ff44462

View file

@ -17,6 +17,7 @@ tasks.withType<WriteProperties>().configureEach {
comment = " Do not edit manually. This file was created with task '$name'"
}
val hardReset by tasks.registering(Delete::class) {
group = rootProject.name
doFirst("hardResetConfirmation") {
@ -28,3 +29,8 @@ val hardReset by tasks.registering(Delete::class) {
}
}
}
tasks.withType<AbstractArchiveTask>().configureEach {
exclude("**/.secret.*")
}