On 10/02/10 1:38 AM, Peter Ledbrook wrote:
Is something like this possible:

  apply id: 'groovy'

  sourceSets {
      main {
          groovy {
<snip>

Actually, I'm a little bemused that the following:

sourceSets {
      main {
          groovy {
              srcDir(projectDir)
          }
      }
  }

works perfectly! Even Java files under "src/java" are compiled without
any problem. Is this intentional?


Yes. Gradle will compile any *.groovy and any *.java it finds under the groovy source directories.


--
Adam Murdoch
Gradle Developer
http://www.gradle.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to