gradle
Toggle table of contents
9.1.0-20250628022042+0000
API
Platform filter
API
Switch theme
Search in API
gradle
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
)