Gradle multi-module project that is comprised of two modules A, B and C. Module A exposes functionality (e.g. json serialization configurations) that is consumed by module B and C. Module A also has a set of test helpers (in src/test/) that are useful so that modules B and C are not concerned with bootstrapping the serialization part on their unit tests.
Dependency graph
A -> B
\-> C
In order to use the test helpers on modules B and C, the following dependency needs to be added to each module's build.gradle
testImplementation project(':A').sourceSets.test.output