AbiFilterSetSpec

A set of filters in a single direction: inclusion or exclusion.

Inclusion filters:

filters {
include {
byNames.add("foo.api.**")
annotatedWith.add("foo.PublicApi")
}
}

Exclusion filters:

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

Since

2.2.0

Properties

Link copied to clipboard
abstract val annotatedWith: SetProperty<String>

Filters declarations by annotations placed on them.

Link copied to clipboard
abstract val byNames: SetProperty<String>

Filters declarations by name.