In the Gant project I have all the Java and Groovy sources in
src/{main,test}/groovy and the Groovy plugin does the right thing with
the joint compiler so that there are no problems with dependencies
between Java and Groovy classes.
The question is what is the status of Java code in src/main/java with
the Groovy plugin. Is it compiled separately with javac? The real
question comes of course at compileTest time. I am assuming that
build/src/main/java is not included in the classpath when compiling
build/src/test/groovy.
So what advice to give a project (GParallelizer) that has currently
split Java into src/{main,test}/java and Groovy into
src/{main,test}/groovy but where there are dependencies of the tests on
all the Java and Groovy. Or is there a trivial way of handling this in
Gradle. (It seems IntelliJ IDEA has no problem with the source
structure.)
Thanks.
--
Russel.
=============================================================================
Dr Russel Winder Partner
xmpp: [email protected]
Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road, f: +44 8700 516 084 voip: sip:[email protected]
London SW11 1EN, UK m: +44 7770 465 077 skype: russel_winder
signature.asc
Description: This is a digitally signed message part
