I just encountered the same problem today with Gradle 1.12! All of our locally-generated ivy.xml files contain the “build” attribute, but Gradle only chokes on a handful of them, the rest seem fine. Did you ever come up with a better solution that the ugly workaround?
I also posted another query today indicating that, though a google guava jar was mentioned 14 times in the debug log, it was not downloaded and added to the CLASSPATH, resulting in a compilation error.
The point is, unless you got a private response (which I have not yet gotten), it seems that the folks at Gradle are not monitoring this Forum, or at least not as well as I would expect. If not, what’s the point of it?
Tim