getSkipped() does not look up in hierarchy?

I have a tree like this:


where publishModule depends on jar.

When jar is up to date, then publishModule seems to be SKIPPED (and so it appears in configuration time). But if I do publishModuleTask.getState().getSkipped(), then it always returns false.

Is there any way, using the public API, to find out the real skipped state of a task, keeping into account the whole running hierarchy?