exclude

open fun exclude(action: Action<AbiFilterSetSpec>)
open fun exclude(action: AbiFilterSetSpec.() -> Unit)

Configures the exclude variable with the provided configuration.

Since

2.3.20


A set of filtering rules that restrict ABI declarations from being included in a dump.

The rules combine inclusion and exclusion of declarations. Each filter can be written as either a class name filter (see AbiFilterSetSpec.byNames) or an annotation filter (see AbiFilterSetSpec.annotatedWith).

filters {
exclude {
byNames.add("foo.Bar")
annotatedWith.add("foo.ExcludeAbi")
}
}

In order for a declaration (class, field, property, or function) to be included in the dump, it must pass all inclusion and exclusion filters.

Since

2.3.20