component-build-plugin / com.intershop.gradle.component.build.extension / ComponentExtension / exclude

exclude

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.

Parameters

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.

Parameters

patterns - set of Ant based file pattern