Trying to upgrade from 1.7 to either 1.9 or 1.10 I get an exception
Failed to add into filestore 'D:\.gradle\caches\modules-2\metadata-2.1\descriptors' at 'org.jboss.arquillian.container/arquillian-container-spi/1.1.1.Final/d2b3f914b7e286103dc8c6db6dd248f8/ivy.xml'
Maybe you can try this out on your machine to see it that works for you (run the task copyLibs). If it does work, then I think we’d need to see some details of your build script.
Needs a windows machine: - In one cmd shell run “startPerforce.bat” which starts a test perforce server on port 1670 (keep this running). - In another shell run ‘gradle build’
This works with gradle 1.7, but fails with 1.9, 1.10, and 1.12 nightly.
E:\Temp\GradleIvyResolve>gradle --refresh-dependencies build
Build file 'E:\Temp\GradleIvyResolve\build.gradle': line 15
The ArtifactRepositoryContainer.add(DependencyResolver, Closure) method has been deprecated and is scheduled to be removed in Gradle 2.0.
:compileJava
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all dependencies for configuration ':compile'.
> Could not resolve org.slf4j:slf4j-log4j12:1.7.5.
Required by:
:GradleIvyResolve:unspecified
> Failed to add into filestore 'D:\.gradle\caches\modules-2\metadata-2.1\descriptors' at 'org.slf4j/slf4j-log4j12/1.7.5/e42cd7cc8222da755ac37e0c7396c5c6/ivy.xml'
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 3.594 secs
Unfortunately, I currently don’t have a Windows machine at hand. In the meantime can you give use the stack trace of this error (-s flag on the command line)?