Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.

Compilation issues when using Spring Boot #5

Closed
gregwhitaker opened this issue Jul 4, 2018 · 4 comments
Closed

Compilation issues when using Spring Boot #5

gregwhitaker opened this issue Jul 4, 2018 · 4 comments

Comments

@gregwhitaker
Copy link
Contributor

Issue

Currently, using proteus-java with Spring Boot causes compilation issues. Spring Boot is pulling in an incompatible version of Guava which overrides the version imported by proteus-java.

Solution

We need to shade guava in the proteus-java jars.

Current Workaround

You can force the dependency resolution in Gradle using the following, but it is ugly and not cool of us to ask people to add that to each of their spring-based proteus projects.

configurations.all {
    resolutionStrategy {
        dependencySubstitution {
            substitute module('com.google.guava:guava') with module('com.google.guava:guava:22.0')
        }
    }
}
@liqweed
Copy link

liqweed commented Dec 16, 2018

Any update on this?

@gregwhitaker
Copy link
Contributor Author

@liqweed This has been fixed in the latest version of Proteus 1.5.3 which will be released later this week.

@liqweed
Copy link

liqweed commented Dec 17, 2018

@gregwhitaker That's great!

I'm trying to integrate Proteus and Guava 22.0 breaks our existing code. Also, I had to temporarily remove errorprone compiler plugin - it's not compatible with this version of Guava as well.

@liqweed
Copy link

liqweed commented Mar 17, 2019

Can this be closed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants