This message was deleted.
# community-support
s
This message was deleted.
j
Looks like it works but some tasks from
some-module
are being executed and they shouldn't
Copy code
:kotlin-test-testng:jsIrPackageJson SKIPPED
:kotlin-test-testng:jsIrTestPackageJson SKIPPED
:kotlin-test-testng:jsLegacyPackageJson SKIPPED
:kotlin-test-testng:jsLegacyTestPackageJson SKIPPED
KMP tasks
v
-x ...
removes the task and also its dependencies that are not otherwise added from the task graph, so I would guess something else is depending on those tasks?
j
Yeah it is weird, I will check with other task if they are still there, maybe kgp executes them always
f
you can easily check the successors of said tasks in the Gradle Enterprise timeline view of a Build Scan
👀 1
v
Can you see the actual dependency there, or just the temporal ordering?
j
If I do
./gradlew publishToMavenLocal -x some-module:publish
, as
publish
would run
publishToMavenLocal
, it is not executed on
some-module
, right?
v
That's wrong
You exclude
publish
, not
publishToMavenLocal
if
publish
would be the only task that brings
publishToMavenLocal
, then excluding
publish
would make it not bring
publishToMavenLocal
. But if anything else brings it to the task graph, like your explicit request to execute it or another task dependency, then it is still there.
👍 1
thank you 1