You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a project with the options shown in the following image:
When I extract the project and run ./gradlew clean build it throws the following error:
Execution failed for task ':compileTestJava'.
> Could not resolve all files for configuration ':testCompileClasspath'.
> Could not find org.springframework.cloud:spring-cloud-stream:test-binder.
Required by:
project :
> Could not find org.springframework.cloud:spring-cloud-stream:test-binder.
Required by:
project :
> Could not find org.springframework.cloud:spring-cloud-stream:test-binder.
Required by:
project : > org.springframework.cloud:spring-cloud-stream-binder-kafka-streams:3.0.9.RELEASE > org.springframework.cloud:spring-cloud-stream-binder-kafka-core:3.0.9.RELEASE
Thanks @henriquels25, closing this one as a duplicate. I've disabled this post-processor for Gradle in the meantime so that projects using this dependency can build properly.
I created a project with the options shown in the following image:
When I extract the project and run
./gradlew clean build
it throws the following error:I set up a simple project to demonstrate the problem: https://github.com/henriquels25/cloud-stream-gradle. This sample project is the same one the start.spring.io generated.
The error can be observed in this CI execution.
The cause for the error is the following dependency:
testImplementation 'org.springframework.cloud:spring-cloud-stream:test-binder@test-jar'
.When I remove it, the project builds successfully, as it can be observed in the branch
remove_test_dependency
and in this CI execution.The text was updated successfully, but these errors were encountered: