contentful/contentful.java

Release v10.5.17 with compilation failure in Java due to missing dependencies of Retrofit 2.10.0-SNAPSHOT

Closed this issue · 1 comments

ilp commented

Release: v10.5.17
Java 17

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find com.squareup.retrofit2:retrofit:2.10.0-SNAPSHOT.
     Required by:
         project : > com.contentful.java:java-sdk:10.5.17
         project : > com.contentful.java:java-sdk:10.5.17 > com.squareup.retrofit2:adapter-rxjava3:2.9.0
   > Could not find com.squareup.retrofit2:converter-gson:2.10.0-SNAPSHOT.
     Required by:
         project : > com.contentful.java:java-sdk:10.5.17

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 477ms

My hypothesis is that the build was created with dependencies cached, which went undetected at the time, or today this dependency is no longer available in the Maven central. Could you please verify?

@ilp I tried to reproduce it on the master branch, but it works fine for me. Are you still experiencing issues with the latest changes?