8000 Old version of guava is causing conflicts · Issue #379 · cjbooms/fabrikt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Old version of guava is causing conflicts #379
Closed
@ethanmdavidson

Description

@ethanmdavidson

While trying to use the gradle plugin, I came across an issue caused by fabrikt having a transitive dependency on an old version of guava. See acanda/fabrikt-gradle-plugin#96

fabrikt has a transitive dependency on guava 18:

> ./gradlew dependencies --configuration=runtimeClasspath

<snip>

+--- com.reprezen.kaizen:openapi-parser:4.0.4
|    +--- com.reprezen.jsonoverlay:jsonoverlay:4.0.4
|    |    \--- org.eclipse.xtend:org.eclipse.xtend.lib:2.11.0
|    |         +--- org.eclipse.xtext:org.eclipse.xtext.xbase.lib:2.11.0
|    |         |    \--- com.google.guava:guava:[14.0,19) -> 18.0

One way I've solved this before is by relocating the package so that both versions can coexist in the classpath. This is probably the most straightforward solution.

Another option is to upgrade org.eclipse.xtend.lib to the latest version, which depends on guava 33. This option doesn't seem so good because the reprezen dependencies seem to be unmaintained, and would probably need to be forked. There is a kotlin fork of the reprezen stuff which could be tried too. This is probably a better long-term plan, but not something I can commit to at this point.

I'll start putting together a PR for the package relocation, but wanted to open this issue for discussion in case you want to take a different route.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0