Closed RobSil closed 1 year ago
looks like problem in transitive dependency: easy-vcr, from some version it starts to fail build.
Hey @RobSil, thanks for writing in! We'll take a look at this shortly and get back with you on our findings.
Hey @RobSil, just wanted to let you know that we've just merged in an update that actually removes EasyVCR as a production dependency entirely, which should fix the import issue you're running into. We will be cutting a new release later this afternoon.
@RobSil v6.6.1 of the EasyPost Java library has just been released. Please let us know if your issue still persists.
Hello! Thank you for quick response! As soon as I can get new version on mvnrepository, I'll let you know if problem persists!
Hello, @nwithan8 ! It looks like the problem is still present. Maybe, I'm missing something, could you check the example I provided?
@RobSil I can confirm, I'm getting the same issue trying to run your project linked above.
Poking around, I was able to get the gradle build to pass by removing the plugin id 'io.spring.dependency-management' version '1.1.0'
(line 4 of the build.gradle
file).
Looking at the documentation for the plugin, it mentions that the plugin depends on Gradle 6.8+ or Gradle 7, while this project is running on Gradle 8.1.1 (according the the gradle/wrapper/gradle-wrapper.properties
file). I'm not sure if this documentation is perhaps outdated; Gradle 8 was released back in February, so perhaps the plugin does not currently work on Gradle 8 (I was unable to find anything related to this on the plugin's GitHub page).
I would recommend experimenting with either dropping this plugin or using an older version of Gradle until Gradle 8 compatibility is confirmed.
At present, it does not seem this is an issue with our library specifically.
Software Version
6.6.0
Language Version
Java 17, Spring Boot 3.0.6
Operating System
Windows 10
What happened?
Gradle build is failing when adding EasyPost dependency in a project with Spring boot project.
What was expected?
Working Java app with EasyPost dependency.
Sample Code
Relevant logs