diff --git a/dependencies.yml b/dependencies.yml index 53cc51f750..99ed170ed8 100644 --- a/dependencies.yml +++ b/dependencies.yml @@ -182,6 +182,16 @@ org.apache.curator: exclusions: - org.apache.zookeeper:zookeeper +# Ensure that we use the same Snappy version as what Curator depends on. +# See: https://github.com/apache/curator/blob/master/pom.xml +org.xerial.snappy: + snappy-java: { version: '1.1.7' } + +# Ensure that we use the same Dropwizard version as what Curator depends on. +# See: https://github.com/apache/curator/blob/master/pom.xml +io.dropwizard.metrics: + metrics-core: { version: '3.2.5' } + org.apache.shiro: # Don't update `shiro` version shiro-core: diff --git a/server/build.gradle b/server/build.gradle index dfaba9136a..a70a779e7a 100644 --- a/server/build.gradle +++ b/server/build.gradle @@ -29,6 +29,10 @@ dependencies { implementation 'org.apache.zookeeper:zookeeper' testImplementation 'org.apache.curator:curator-test' + // Missing dependencies in ZooKeeper + implementation 'org.xerial.snappy:snappy-java' + implementation 'io.dropwizard.metrics:metrics-core' + // DiffUtils implementation 'com.googlecode.java-diff-utils:diffutils'