You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue in the logic introduced in 7.4 to better ensure command line order is honored. When a task gets pulled in from an earlier command line selector has a mustRunAfter relationship to a task that does not get executed, tasks pulled in by later command line selectors can be skipped.
For example, if I run clean build on the command line, and clean has mustRunAfter foo but the foo task is not a part of the build (i.e. neither clean nor build pull in foo), then the producer tasks pulled in by build will get skipped.
Expected Behavior
All tasks should execute
Current Behavior
Tasks from selectors later on the command line simply do not execute
Steps to Reproduce
plugins {
id 'java'
}
task foo
clean.mustRunAfter foo
Run: clean build
The text was updated successfully, but these errors were encountered:
There is an issue in the logic introduced in 7.4 to better ensure command line order is honored. When a task gets pulled in from an earlier command line selector has a
mustRunAfter
relationship to a task that does not get executed, tasks pulled in by later command line selectors can be skipped.For example, if I run
clean build
on the command line, and clean hasmustRunAfter foo
but the foo task is not a part of the build (i.e. neither clean nor build pull in foo), then the producer tasks pulled in by build will get skipped.Expected Behavior
All tasks should execute
Current Behavior
Tasks from selectors later on the command line simply do not execute
Steps to Reproduce
Run:
clean build
The text was updated successfully, but these errors were encountered: