Slackbot
01/08/2024, 9:39 AMFuyang Liu
01/08/2024, 9:41 AMtasks.register<GradleBuild>("run-my-task-for-a-b") {
dependsOn(":project-a:my-task")
}Fuyang Liu
01/08/2024, 9:42 AMCould not determine the dependencies of task ':project-a:my-task'. Task with path ':project-a:my-task' not found in project ':build-logic:my-plugin'Fuyang Liu
01/08/2024, 9:49 AMVampire
01/08/2024, 12:40 PMVampire
01/08/2024, 12:41 PM./gradlew my-task then it is automatically run in all projects that have a task with that name without any special setup necessaryVampire
01/08/2024, 12:42 PMGradleBuild, that is something completely different.Fuyang Liu
01/08/2024, 2:42 PM./gradlew :p1:my-task :p2:my-task , that is not a bad solution 🙂