[Codenarc-developer] CodeNarc and Groovy 1.8
Brought to you by:
chrismair
From: Hamlet D'A. <ham...@gm...> - 2011-05-22 06:39:20
|
Hi all, I checked in changes this morning that have Groovy 1.8 support. CodeNarc should continue to be built with Groovy 1.7, but there are some changes so that it can run with a 1.8 runtime. Chris, we need to figure out a way to do a "mvn test" using Groovy 1.8 from the build, but continue to build only the binaries with 1.7. Some rules need special logic to support both 1.8 and 1.7. You can check the version of Groovy using the GroovyVersion class and then implement appropriately. Maybe in the end we have 2 different pom.xml files for now, one with 1.8 and one with 1.7. There is just one patch I have from Viktor that needs to be merged (it is 2 new rules), and then I'd like to start testing for the next release. It would be great to get the release done in May. -- Hamlet D'Arcy ham...@gm... |