fun exclude(pattern: String): Unit
Adds a pattern to the set of exclude patterns. Files that matches to one of patterns will be excluded from the installation.
pattern - Ant based file pattern
fun exclude(patterns: Set<String>): Unit
Adds a set of patterns to the set of exclude patterns. Files that matches to one of patterns will be excluded from the installation. If one of the patterns is part of the list, the method returns false.