toggle menu
gradle
8.10.2
API
switch theme
search in API
gradle
/
org.gradle.api.tasks.testing
/
Test
/
exclude
exclude
API
open
fun
exclude
(
excludes
:
Array
<
String
>
)
:
Test
(
source
)
open
fun
exclude
(
excludes
:
Iterable
<
String
>
)
:
Test
(
source
)
Adds exclude patterns for the files in the test classes directory (e.g. '**/*Test.class')).
See also
set
Excludes(Iterable)
open
fun
exclude
(
excludeSpec
:
Spec
<
FileTreeElement
>
)
:
Test
(
source
)
open
fun
exclude
(
excludeSpec
:
Closure
)
:
Test
(
source
)