Depends on a test jar

Hello All,

Consider several subprojects A, B and C, with tests in every one. I managed Gradle to produce several couples of jars:

  • A.jar
  • A-test.jar
  • B.jar
  • B-test.jar
  • C.jar
  • C-test.jar

I’d like to produce also the uniting test jar that depends on all tests jars:

  • T-test.jar

I need this in order to perform my tests in many different environments, where no sources (only jars and several additional files).

My question is: how to specify the dependency on particular test jars and how to produce the uniting test jar with manifest that lists all dependencies, including the particular test jars and all external libraries required for testing?

Thanks in advance