component-build-plugin / com.intershop.gradle.component.build.extension.items / FileContainerItem / exclude

exclude

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.

Parameters

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.

Parameters

patterns - set of Ant based file pattern