Something really bizzare is happening when gradle tries to resolve dependencies of following project:
task wrapper(type: Wrapper) {
gradleVersion = "1.10"
}
apply plugin: "java"
repositories {
mavenCentral()
}
dependencies {
compile("org.eclipse.birt.runtime:org.eclipse.birt.runtime:4.3.0") {
exclude group: "org.eclipse.birt.runtime", module: "org.apache.poi"
}
}
The failure:
$ ./gradlew clean compileJava
:clean UP-TO-DATE
:compileJava
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all dependencies for configuration ':compile'.
> Could not resolve f="compile->compile(*:(*);runtime->runtime(*)"/>
<dependency org="o:pse.birt.runtime" n.
Required by:
:birtest:unspecified > org.eclipse.birt.runtime:org.eclipse.birt.runtime:4.3.0
> invalid start of optional part at position 33 in pattern f="compile->compile(*/[module](/[branch])/[revision]
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
An important thing: this is not happening when gradle has to download dependencies for the first time or when using --refresh-dependencies option. This suggests some gradle bug.
Unfortunately, this is a blocker issue and attention would be much appreciated.
Thanks, Roman