I have 2 source sets in my project, main and version. The java code in
version is generated via a task and so needs to be separate from main.
But I want to be able to use a class in version from within main, much
as you can use main from within test. How do I tell the main sourceSet
that it "depends on" version. I have tried several variants on:
project.sourceSets.main.compileClasspath.add(project.sourceSets.version)
--> Cause: Could not find method add() for arguments [source set
version] on configuration ':TauP:compile'.
project.sourceSets.main.compileClasspath.add(project.sourceSets.version.classesDir)
--> Cause: Could not find method add() for arguments
[/export/home/crotwell/dev/seis/TauP/build/classes/version] on
configuration ':TauP:compile'.
And so on, but I can't seem to get it to work. What is the appropriate
way to create a compile dependency from one sourceSet on another.
thanks,
Philip
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email