On 05/03/2011, at 3:15 AM, Peter Ledbrook wrote:
>> You declare the dependencies for Groovy source the same way as for Java
>> source:
>> dependencies {
>> compile project(':model-project')
>> }
>> You use the groovy configuration to declare which Groovy
>> version/implementation to use to compile the source:
>> dependencies {
>> groovy 'org.codehaus.groovy:groovy:1.8.0-beta-2'
>> }
>
> Shouldn't this Groovy JAR automatically be added as a dependency in
> the artifact's POM? It's a Groovy project so it would make sense to me
> that Groovy should therefore be a compile dependency declared in the
> POM.
Yes. It's this issue: http://jira.codehaus.org/browse/GRADLE-1266
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
Co-Founder and VP of Engineering, Gradleware Inc. - Gradle Training, Support,
Consulting
http://www.gradleware.com