I am trying to figure out how to structure a project so that the following
is possible.

Logical structure

core
  +-- main
  +-- test-fixtures
  +-- test (uses test-fixtures)

tools
  +-- main (uses core)
  +-- test (uses test-fixtures)

component1
  +-- main (uses tools to generate some code, uses core)
  +-- test (uses test-fixtures)

component2
  +-- main (uses tools to generate some code, uses core)
  +-- test (uses test-fixtures)

The problem I have is that I can not get the test-fixtures to be accessible
to the tools or components build when there is not already a jar built.

Gradle has a solution where the core would be built, then the
text-fixtures, then the core test.  But there does not seem to be a way to
achieve the logical test-fixtures component.

Does anyone have a suggestion for how to solve this problem?



-- 
LinkedIn: http://www.linkedin.com/in/claudewarren

Reply via email to