dropbox/dropbox-sdk-java

gradle is missing 5.1.1 (4.0.1 works)

emilycrutcher opened this issue · 5 comments

My system cannot find 5.1.1, if I use 4.01, Gradle finds it with no problem. Using
mavenCentral()
maven { url "https://m2.objectdb.com" }
maven { url 'https://repository.jboss.org/nexus/content/repositories/thirdparty-releases' }

Build scan: excerpt:

compileClasspath
0.013s
com.dropbox.core:dropbox-core-sdk:5.1.1
FAILED
com.google.code.gson:gson:2.8.4
com.itextpdf:html2pdf:3.0.4
com.j2html:j2html:1.4.0
com.objectdb:objectdb:2.8.6
com.squareup.okhttp3:okhttp:4.4.1
edu.stanford.nlp:stanford-corenlp:4.2.2
io.undertow:undertow-core:2.0.11.Final
javax.jdo:jdo-api:3.0.1
net.bican:jwordpress:0.7.0
org.apache.commons:commons-email:1.5
org.slf4j:slf4j-jdk14:1.7.28
redstone.xmlrpc:xmlrpc:1.1.1

It's not clear what the issue might be here. Is that the full error/output you get for that failure? Are you able to enable more verbose output? I just tried and I was able to load v5.1.1 in a project.

Also, can you share your gradle config and the steps you're following when this occurs?

For reference though, v5.1.1 of the library is available on Maven Central, according to their website: https://search.maven.org/artifact/com.dropbox.core/dropbox-core-sdk/5.1.1/jar as well as listed here: https://repo1.maven.org/maven2/com/dropbox/core/dropbox-core-sdk/5.1.1/

That said, this may be more of a matter of Gradle or Maven Central, so they may be able to offer more help.

Thanks! I just dug in to that a bit, and I found this message on this page:

Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8

The team did bump compatibility of the Java SDK to 11. So, it looks like you should be able to fix this either by upgrading to 11, if that's an option for you, or other instead requesting v5.0.0 (or older) of the SDK.

Thanks! I'll ask the team to update that.