How to configure root build.gradle in case of subprojects with dependencies from each over

I have a gradle project composed with

  • application (mainClass Application.java)
  • core
  • userManagement (dependOn core)

I have the feeling the classpath used by my test doesn’t include all the sources correctly.

Is there anything I should configure on the gradle side?