This message was deleted.
# community-support
s
This message was deleted.
v
allprojects is the current project and all descendents. If you really need this, you need to do it on
rootProject
s
Or actually
rootProject.subprojects
.
v
No, the would be different
It would include the current project and exclude the root project
s
Well, yes, depends on the use-case what you want.
v
He said "all other projects" and his try also shows what he wants. 🙂
s
But he didn't say whether the
build.gradle.kts
is the root build file or not 😉
a
ahh yes,
rootProject.allprojects.filter { it.path != path }
gets what I want, thanks
v
But he didn't say whether the
build.gradle.kts
is the root build file or not
He did not, but if it would be, it would have worked 😉
🙂 2
a
this is in a multimodule build and I'm experimenting with aggregating from all other subprojects (including the root!) into a leaf subproject (which doesn't have any nested projects)