forked from asciidoctor/asciidoctor-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exlude secondary source elements by matching rather than substraction (…
…asciidoctor#410) This is a very subtle issue. When two Filtree instances are subtracted from each other in order to eliminate a set of files, the base directory of the tree is lost. If this is in a CopySpec the relative paths will thus also be lost. The solution is to use a matcher of type PatternFilterable and then to exclude by FileTreeElement. When using
- Loading branch information
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters