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

Disable particular task?

$
0
0

Hi,
I’m trying to disable certain tasks in build script. Based mostly on android - How can I disable a task in build.gradle - Stack Overflow I tried:

tasks.getByName("jsBrowserTest").enabled = false

but it fails with:

Task with name 'jsBrowserTest' not found in root project 'xyz'.

How Can I recursively disable it for the whole project?

(running with -x disables it corretly)


Viewing all articles
Browse latest Browse all 19839

Trending Articles