Hi there,
I've got a strange problem whereby I can run a build fine with version 0.8
but with version 0.9 the dependency resolution fails. gradle bombs out with
an internal error and huge stack trace. I've noticed that the internal error
only happens after the first run when the scripts are cached. If I delete
ALL the caches then I get the following:
:: problems summary ::
:::: WARNINGS
Resolution will only pick dependencies of the relocated element.
Artefact and other metadata will be
ignored.
:::: ERRORS
Relocation to an other version number not supported in ivy :
xml-apis#xml-apis;2.0.2 relocated to xml-
apis#xml-apis;1.0.b2. Please update your dependency to directly use the
right version.
FAILURE: Build failed with an exception.
* What went wrong:
org.gradle.api.artifacts.ResolveException: Could not resolve all
dependencies for configuration 'runtime'.
Setting the dependency that it complains about manually doesn't make any
difference. I'm using a local maven respository, artifactory, with all the
jars that are needed in there.
The reason I'm trying to use 0.9 is because I needed to make custom
artifacts such as a test jar and I had more luck with the newer syntax for
setting the artifact contents.
The problem is caused by one particular dependency:
compile group: 'owasp', name: 'esapi', version: '2.0-rc4'
It doesn't matter if I set it to transitive or not. I don't know how to fix
the clash of versions, it's between some transitive dependencies that I
don't have visibility of.
Any ideas?
--
View this message in context:
http://old.nabble.com/0.9-breaking-changes-in-dependencies-tp26715193p26715193.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email