This message was deleted.
# dependency-management
s
This message was deleted.
t
Loop over
getLibraryAliases()
, call
findLibrary()
for each of them, then filter the result based on
getModule().getGroup()
? (assuming you meant a groupId here; I have no idea what this
projects.gradleExtensionsSubjects
and its properties are though, so maybe I completely misunderstood your question)
Ah, nevermind, you're talking about type-safe project accessors, right? (not much to do with version catalogs actually) then I think you can do
projects.gradleExtensionsSubprojects.dependencyProject.subprojects
j
I will try, thank you 🙏
that could break project isolation right?
f
No, at least it should not. Gradle knows all projects and you only want to know which other projects exist, you do not want to reach into their respective builds and access anything.