Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 19850

Don't run tests unless test task specified on command line

$
0
0

Hello,

you could try something like this
tasks.test {
enabled = gradle.startParameters.taskNames.contains(“test”)
}


Viewing all articles
Browse latest Browse all 19850

Trending Articles