Affects Version/s: 2.6.0-alpha-3
Fix Version/s: None
Declaring the following dependency in a Gradle build script:
compile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.6.0-alpha-3'
Results in the following Gradle error:
FAILURE: Build failed with an exception.
What went wrong:
Could not resolve all files for configuration ':Framework:compileClasspath'.
> Could not find groovy-all.jar (org.codehaus.groovy:groovy-all:2.6.0-alpha-3).
Searched in the following locations:
That file, of course, is missing, and I do not expect it to be there. Gradle should be able to derive dependencies from the .pom file, which is present.
With debug on, I see Gradle appropriately evaluating the dependencies from the POM, then:
15:51:05.979 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CachingModuleComponentRepository] Detected non-existence of artifact 'groovy-all.jar (org.codehaus.groovy:groovy-all:2.6.0-alpha-3)' in resolver cache
This works with all other version strings. One additional oddity: '2.6.0-alpha-2' actually has a groovy-all.jar in Maven Central, whereas 2.5* groovy-all downloads all of the dependency JARs.