Colton Idle
06/19/2024, 3:17 PMapp:sortDependencies. I want to make this behave like spotless plugin where I apply it to my root build.gradle and then call ./gradlew spotlessApply and every module runs the spotless formatter.Vampire
06/19/2024, 3:39 PM./gradlew sortDependencies (opposed to ./gradlew :sortDependencies) runs the sortDependencies task in every project that has one with that name. So by applying to the relevant projects you already have what you are after.Colton Idle
06/19/2024, 4:13 PMVampire
06/19/2024, 4:15 PMColton Idle
06/19/2024, 4:16 PMVampire
06/19/2024, 10:00 PMi wonder how spotless ends up doing it. i apply spotless in the root project and that's it.Then I'd say you only run it on the root project. It does not register any tasks besides those on the root project, I just looked at the code and also tried.