includeBuild in composite build is not transitive in intellij?

I am not sure if this is intellij or gradle but includeBuild is great but misses the transitive projects in our monobuild and we end up having to duplicate all transitive dependencies

The external libraries prefixed with “core-” in this picture are transitive includeBuild things. I am not sure how to make this work better so I have access to changing that source code as well.