Build Setup Plugin setupBuild throws a StackOverflowError. Gradle 1.6


(Mark Spritzler) #1

Here is a gist of what happens when I run gradle setupBuild

https://gist.github.com/bytor99999/a538a301ef3587790bf1

Using Gradle 1.6

Macintosh-3:hdpoker bytor99999$ gradle -version

------------------------------------------------------------ Gradle 1.6 ------------------------------------------------------------

Gradle build time: Tuesday, May 7, 2013 9:12:14 AM UTC Groovy: 1.8.6 Ant: Apache Ant™ version 1.8.4 compiled on May 22 2012 Ivy: 2.2.0 JVM: 1.7.0_07 (Oracle Corporation 23.3-b01) OS: Mac OS X 10.8.4 x86_64

Key things, we have a pom file in the root directory that is our reactor pom. However, it has a parent pom which is in a subdirectory off of root called hdpoker-parent. All the child projects in their own subdirectories off of root all point to this hdpoker-parent as their parent.

When I got this error running from the root directory, I tried to run setupBuild in hdpoker-parent and it ran there, but only created gradle stuff for that subdirectory and no other project directories.

So neither approach will convert our multi-project.

Thanks for any help

Mark