On 06/08/2012, at 5:38 PM, Robert Fletcher wrote: > Hi > > I have a project with a single Java class and a whole bunch of Groovy > classes. The Java class contains no reference to any Groovy classes > but several Groovy classes reference the Java class. I found that > compilation would fail unless I keep the Java class under > src/main/groovy. Is that the expected behaviour?
Yes. > I thought that would only be the case if there are circular dependencies. Is there something in the documentation that says this? If so we should fix it. The Java compile step does not feed into the Groovy compile step (that I can see), so you'll need to put the Java source in the 'groovy' dir to use it from Groovy. -- Luke Daley Principal Engineer, Gradleware http://gradleware.com --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
