Explicitly depend on guava 22

We only depended on it transitively in the past, this makes it explicit.

This caused an issue in the google pubsub plugins, reported here: https://github.com/elastic/logstash/issues/9592

In the future, this will be a non-concern when your java plugin API launch with classloader isolation.

Fixes #9622
This commit is contained in:
Andrew Cholakian 2018-05-21 11:16:15 -05:00
parent 78dab87221
commit b2fc4fcc57

View file

@ -120,6 +120,7 @@ dependencies {
compile 'org.codehaus.janino:janino:3.0.8'
compile "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:${jacksonVersion}"
compile "org.jruby:jruby-complete:${jrubyVersion}"
compile group: 'com.google.guava', name: 'guava', version: '22.0'
// Do not upgrade this, later versions require GPL licensed code in javac-shaded that is
// Apache2 incompatible
compile 'com.google.googlejavaformat:google-java-format:1.1'