Now when I run the testCompile task and have the version set to ‘1.8.3’ it all works. When I use ‘1.8.+’ instead the build fails with the following message:
Could not find any version that matches group:commons-beanutils, module:commons-beanutils, version:1.8.+. Required by:
:RuA:1.0 Could not execute build using Gradle distribution 'file:/C:/Entwicklung/Tools/Gradle/gradle-1.0-rc-1-all.zip
Stacktrace :
org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration :testCompile’. … Caused by: org.gradle.api.internal.artifacts.ivyservice.ModuleVersionNotFoundException: Could not find any version that matches group:commons-beanutils, module:commons-beanutils, version:1.8.+. Required by:
Does “gradle clean build --refresh-dependencies” solves your problem? If not, can you post the output of “gradle build -i --refresh-dependencies” here? The output should contain something like this:
Our Ivy repo is created manually. Yes its right we deploy the artifacts we use to svn and use this “private” repository for dependency management.
Unfortunately I was not able to figure out what causes my problem with dynamic revision. I tried you suggestions but the issue remains the same.
To minimize all side effects I updated to the latest RC3 version and tried out to resolve against
‘mavenCentral’ with dynamic revisions and it works great.
The expected output in the sense of “Resource missing…”
I was not able to find when I run the tasks with --debug --stacktrace etc.
It seams to me that when using dynamic revisions the credentials are not used correctly. Like I said this happens only with dynamic revisions and Ivy repository