[GRADLE-2974] --exclude-task does not work with multiple dependent tasks. Created: 09/Dec/13 Updated: 25/Feb/14 Resolved: 25/Feb/14 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 1.12-rc-1 |
Type: | Task | ||
Reporter: | Gradle Forums | Assignee: | Luke Daley |
Resolution: | Fixed | Votes: | 1 |
Description |
Hi! I want to exclude a task from execution. To do this i use --exclude-task/-x on the command line. However when I give more than one task on the command line, that depends on the excluded task, the task is executed anyway. A short build script to reproduce this is: task level0 What I want to do is exclude task level1. gradle level2a -x level1 executes just level2a as expected. However adding another dependent to the command line like this: gradle level2a level2b -x level1 executes level2a, level2b and level1. I think building task level1 is an error. Task level0 is never build. I tested this with gradle 1.9 and 1.10-rc-1. Thanks! ------------------------------------------------------------ Groovy: 1.8.6 |