Slackbot
10/11/2022, 4:21 PMVampire
10/11/2022, 4:37 PMclean
task of the root project of the included build.
That is the same as if you would say ./gradlew :clean
in the included build.
There is as far as I know no way yet to do the magic "run the task in all projects that have it if any" that you probably intend.
You can for example make a clean
task in the root project of that included build that fans out to all the subprojects, or you could make a task in your including build that fans out to the subprojects of the included build.Justin Tullgren
10/11/2022, 4:38 PMJustin Tullgren
10/11/2022, 4:38 PMVampire
10/11/2022, 4:40 PMJustin Tullgren
10/11/2022, 4:40 PMVampire
10/11/2022, 4:41 PMJustin Tullgren
10/11/2022, 4:41 PMThomas Broyer
10/11/2022, 4:44 PM./gradlew clean
(adjusting path for gradlew
as needed if you don't have one there), or even simpler: ./gradlew -p path-to-the-included-build clean
.Justin Tullgren
10/11/2022, 4:47 PM-p
argument, i'll try that!Justin Tullgren
10/11/2022, 4:54 PM-p
works for my use case. thanks a ton