[GRADLE-3153] problems loading ivy metadata from dependency cache Created: 21/Aug/14 Updated: 01/Sep/14 Resolved: 01/Sep/14
|Reporter:||Szczepan Faber||Assignee:||Adam Murdoch|
|Known Issue Of:|
After switching to 2.1-rc-1 I'm getting this error:
The ivy file that exists in Gradle cache has following content:
|Comment by Szczepan Faber [ 26/Aug/14 ]|
I needed to axe the ~/.gradle dir (for different reasons than this bug) and this let me go pass this issue.
|Comment by Adam Murdoch [ 28/Aug/14 ]|
What does the ivy.xml/pom.xml look like in the repository? You're not using Maven Central, right?
|Comment by Szczepan Faber [ 31/Aug/14 ]|
Thanks for looking into this issue!
The module in ivy repo looks this way: https://gist.github.com/szczepiq/f19692ef3d0c833642c3 It does not look correct because it contains namespaced node with a namespace prefix that is not declared in the xml. Gradle 2.1 resolves such module OK but does not seem to be able to reuse it correctly when Gradle 2.0 version has downloaded it before. Interestingly, 2.1 is able to reuse downloaded module from version 1.12 but not from 2.0. Other words, If someone upgrades from 1.12 to 2.1 he won't be exposed to this problem. Only if he upgrades from 2.0 it manifests itself.
Steps that demonstrate the problem: