« Return to Thread: Running Gradle 0.6.1 with Groovy 1.6.2

Re: Running Gradle 0.6.1 with Groovy 1.6.2

by hdockter :: Rate this Message:

Reply to Author | View in Thread


On Jun 4, 2009, at 7:56 PM, Gennadiy Shafranovich wrote:

> Hans,
>
> You are correct, I am replacing the groovy jar inside the gradle/lib  
> dir with the 1.6.2 groovy embedded jar. I tried the gradle -C  
> rebuild and it doesn't seem to help. Like i mentioned earlier i  
> think the problem stems from the fact that gradle has been compiled  
> with groovy 1.5.6 and expects CachedClass.getCachedClass() to return  
> java.lang.Class. I looked at the groovy source and the return type  
> for that class has changed to CachedClass from java.lang.Class from  
> 1.5.6 release to 1.6.2.
>
> Is there any plan for a future release of gradle to be compiled with  
> the newest groovy version?

Yes. But the problem is not just compilation. Groovy 1.6 is not fully  
backwards compatible so we have to do some programmatic changes in  
Gradle to make it fully work with Groovy 1.6. We plan to do this for  
our next release.

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org


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

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Running Gradle 0.6.1 with Groovy 1.6.2