You are right about the two different versions of Guava that appear in the
project class path. The Admin SDK imports Guava 20.0, and one of his
dependencies (okhttp-eventsource) imports Guava 19.0. Basically, the
transitive dependency on Guava 19.0 needs to be avoided. You can accomplish
this in a way similar to what is indicated in the snippet below:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile ('com.launchdarkly:okhttp-eventsource:1.3.0'){
exclude group: "com.google.guava", module: "guava"
}
compile 'com.google.firebase:firebase-admin:4.1.7'
}
For more Gradle specific info you may choose to read the "25.4.7. Excluding
transitive dependencies" sub-chapter
<https://docs.gradle.org/current/userguide/dependency_management.html#sub:exclude_transitive_dependencies>
in the documentation.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/f0363ad9-3aef-4093-bedb-f7e79243859b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.