exclude .secret prefixed files from archives
This commit is contained in:
parent
0c6f2a4bfe
commit
723ff44462
1 changed files with 6 additions and 0 deletions
|
|
@ -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.*")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue