excluded

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

Configures the excluded variable with the provided configuration.


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 {
excluded {
classes.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.