Slackbot
03/30/2023, 10:51 AMJavi
03/30/2023, 10:54 AMsome-module are being executed and they shouldn'tJavi
03/30/2023, 10:55 AM:kotlin-test-testng:jsIrPackageJson SKIPPED
:kotlin-test-testng:jsIrTestPackageJson SKIPPED
:kotlin-test-testng:jsLegacyPackageJson SKIPPED
:kotlin-test-testng:jsLegacyTestPackageJson SKIPPEDJavi
03/30/2023, 10:55 AMVampire
03/30/2023, 11:22 AM-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?Javi
03/30/2023, 12:09 PMFrançois Guillot
03/30/2023, 12:11 PMVampire
03/30/2023, 12:14 PMJavi
03/30/2023, 1:21 PM./gradlew publishToMavenLocal -x some-module:publish, as publish would run publishToMavenLocal, it is not executed on some-module , right?Vampire
03/30/2023, 1:25 PMVampire
03/30/2023, 1:25 PMpublish, not publishToMavenLocalVampire
03/30/2023, 1:26 PMpublish 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.