Composite build not including the dependency project's resource folder in classpath

I have a project using composite build that includeBuild a dependency project who has java-library plugin applied. What is strange is that the main resource folder of the dependency project is not on the classpath of the root project when built this way, and hence my dependency project cannot find the resources needed at runtime.

Is this expected? Gradle version is 6.5

1 Like