On Jun 4, 2009, at 12:38 PM, Gennadiy Shafranovich wrote:

Hans,

Because I thought the rest of my build logic was messing up with gradle 0.6.1 i just created a test project on the side. All its build.gradle file contains is the usePlugin line. So its a single line build script with one hello world class file in src/main/java.

Hope this helps, and btw, we've been very happy with Gradle on our project after trying gant and other alternatives. We use it for the main build, bamboo integration, and even putting together mySql initialization scripts and pushing those to the database right before the tests happen. The 0.6 version looks like it fixes some of the quirks we had to put in to our build script and is the main reason why I was trying to upgrade :)

- Gennadiy

On Thu, Jun 4, 2009 at 3:33 AM, Hans Dockter <[email protected]> wrote:

On Jun 3, 2009, at 8:53 PM, Gennadiy Shafranovich wrote:

I am trying to upgrade an existing project that was built with Gradle 0.5.2 to 0.6.1. Our install of 0.5.2 is using the embedded groovy jar from version 1.6.2 instead of the one it was distributed with to get a few more useful functions. It was running fine. I tried upgrading and ran into major issues.

I traced these down and set up a simple build.gradle script on a test project with just one line:

usePlugin('java')

I think I understand. What you are doing is to replace the groovy version of the GRADLE_HOME/lib folder? You do this to enable Groovy 1.6 features in your build.gradle? You might run into issues by doing this. What you could try is to clean the build script cache (you only need to do this once):

gradle -C rebuild <someTask>

- Hans

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


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

   http://xircles.codehaus.org/manage_email


Reply via email to