classes
Add specified classes to current filters.
It is acceptable to use *
and ?
wildcards, *
means any number of arbitrary characters (including no chars), ?
means one arbitrary character.
Example:
classes("*.foo.Bar", "*.M?Class")
Add specified classes to current filters.
It is acceptable to use *
and ?
wildcards, *
means any number of arbitrary characters (including no chars), ?
means one arbitrary character.
Example for Groovy:
def someClasses = ["*.foo.Bar", "*.M?Class"]
...
classes(someClasses)
Example for Kotlin:
val someClasses = listOf("*.foo.Bar", "*.M?Class")
...
classes(someClasses)
Add specified classes to current filters.
Used for lazy setup.
It is acceptable to use *
and ?
wildcards, *
means any number of arbitrary characters (including no chars), ?
means one arbitrary character.
Example:
val excludedClass: Provider<String> = ...
...
classes(excludedClass)
Add specified classes to current filters.
Used for lazy setup.
It is acceptable to use *
and ?
wildcards, *
means any number of arbitrary characters (including no chars), ?
means one arbitrary character.
Example:
val someClasses: Provider<List<String>> = ...
...
classes(someClasses)
Classes of current filter.
It is acceptable to use *
and ?
wildcards, *
means any number of arbitrary characters (including no chars), ?
means one arbitrary character.
Example:
classes.addAll("*.foo.Bar", "*.M?Class")