Open mdbergmann opened 3 years ago
When building a Bloop project it bails out with:
Cannot change dependencies of dependency configuration ':XXX:wsdl2java' after it has been resolved.
2020-12-07T11:34:08.624+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 2020-12-07T11:34:08.624+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception. 2020-12-07T11:34:08.624+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 2020-12-07T11:34:08.624+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong: 2020-12-07T11:34:08.624+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':HcpWebClient:bloopInstall'. 2020-12-07T11:34:08.624+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not create task ':HcpWebClient:wsdl2java'. 2020-12-07T11:34:08.624+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Cannot change dependencies of dependency configuration ':XXX:wsdl2java' after it has been resolved. 2020-12-07T11:34:08.624+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
Are there any updates on this? (@mdbergmann did you solve this) I am also getting similar error
> Could not create task ':wsdl2java'.
> Cannot change dependencies of configuration ':wsdl2java' after it has been resolved.
My build.gradle is
buildscript {
repositories {
mavenCentral()
depenedencies{
classpath "no.nils:wsdl2java:0.12"
}
}
}
apply plugin: "no.nils.wsdl2java"
wsdl2java {
wsdlDir = file("${projectDir}/src/main/resources/wsdl/")
wsdlsToGenerate = [["-mark-generated", "${projectDir}/src/main/resources/wsdl/mywsdl.wsdl"]]
locale = Locale.ENGLISH
encoding = 'UTF-8'
}
the project works fine
when I run gradle projectReport
it fails saying the above error
did you solve this
No, I didn't solve it.
Probably some issue in the dependency setup in Wsdl2JavaPlugin
.
But I didn't have a closer look yet.
When building a Bloop project it bails out with:
Cannot change dependencies of dependency configuration ':XXX:wsdl2java' after it has been resolved.
2020-12-07T11:34:08.624+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 2020-12-07T11:34:08.624+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception. 2020-12-07T11:34:08.624+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 2020-12-07T11:34:08.624+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong: 2020-12-07T11:34:08.624+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':HcpWebClient:bloopInstall'. 2020-12-07T11:34:08.624+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not create task ':HcpWebClient:wsdl2java'. 2020-12-07T11:34:08.624+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Cannot change dependencies of dependency configuration ':XXX:wsdl2java' after it has been resolved. 2020-12-07T11:34:08.624+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]