On 10/02/10 6:03 PM, Peter Ledbrook wrote:
Yes. Gradle will compile any *.groovy and any *.java it finds under the
groovy source directories.
The bit I find really surprising is that Gradle seems to intelligently
work out what the root source directory is for each Java or Groovy
file it comes across. So even though I haven't explicitly declared
"src/java" as a source root, any Java files in that directory are
compiled without any complaints. I was expecting a "mismatch between
directory structure and package" error.
Gradle just passes the source files directly to the compiler(s), via the
Ant task. So I guess it is one of them taking care of it.
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email