<Kotlin DSL - exclude test> How can I exclude a te...
# stackoverflow
u
Kotlin DSL - exclude test How can I exclude a test from running, every time I call gradle build. I know I can pass a param into the command, but instead I want to exclude it from the gradle test task, so I can continue using gradle build without any params. I added the following to my build.gradle.kts file, but no luck: tasks.test { useJUnitPlatform() exclude("*TestIWantExcluded*") }