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