Hi there,
I forgot something:
if you have java and groovy sources in the same sourceset, you needn't
define them twice, since groovyc compiles java and groovy sources. The
following sourceSet definition should be enough:
sourceSets {
main {
java {
srcDir '../src/java/core'
}
}
test {
groovy {
srcDir '../src/java/test'
}
}
}
By the way, it is common practice to replace
test {
groovy {
srcDir '../src/java/test'
}
}
by
test {
groovy {
srcDir '../src/groovy/test'
}
}
regards,
René
phil swenson schrieb:
As I have groovy code that interacts with java code, how do I make the
groovy plugin's configuration pull in the same classpath as the java
source and java test?
Here is my code: http://pastie.org/881609
please let me know if I'm doing something stupid in there too, or if
there are better ways to set the code up.
--
------------------------------------
Rene Groeschke
[email protected]
http://www.breskeby.com
http://twitter.com/breskeby
------------------------------------
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email