From b77e8c9d071dacd40249a25706ba2d435041b8db Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Tue, 6 Jul 2021 15:21:06 -0400 Subject: [PATCH] GH-1352: Add Compression Libraries for Tests For latest client library. --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle b/build.gradle index 28dba005..69837fc0 100644 --- a/build.gradle +++ b/build.gradle @@ -42,6 +42,7 @@ ext { assertjVersion = '3.19.0' assertkVersion = '0.24' awaitilityVersion = '4.0.3' + commonsCompressVersion = '1.20' commonsHttpClientVersion = '4.5.13' commonsPoolVersion = '2.9.0' googleJsr305Version = '3.0.2' @@ -53,6 +54,7 @@ ext { junitJupiterVersion = '5.7.2' log4jVersion = '2.14.1' logbackVersion = '1.2.3' + lz4Version = '1.8.0' micrometerVersion = '1.7.0' mockitoVersion = '3.9.0' protonJVersion = '0.33.8' @@ -60,9 +62,11 @@ ext { rabbitmqVersion = project.hasProperty('rabbitmqVersion') ? project.rabbitmqVersion : '5.12.0' rabbitmqHttpClientVersion = '3.9.0.RELEASE' reactorVersion = '2020.0.7' + snappyVersion = '1.1.8.4' springDataCommonsVersion = '2.5.1' springVersion = project.hasProperty('springVersion') ? project.springVersion : '5.3.8' springRetryVersion = '1.3.1' + zstdJniVersion = '1.5.0-2' } nohttp { @@ -404,6 +408,10 @@ project('spring-rabbit-stream') { testRuntimeOnly 'com.fasterxml.jackson.module:jackson-module-kotlin' testRuntimeOnly "org.apache.httpcomponents:httpclient:$commonsHttpClientVersion" testRuntimeOnly "org.apache.qpid:proton-j:$protonJVersion" + testRuntimeOnly "org.apache.commons:commons-compress:$commonsCompressVersion" + testRuntimeOnly "org.xerial.snappy:snappy-java:$snappyVersion" + testRuntimeOnly "org.lz4:lz4-java:$lz4Version" + testRuntimeOnly "com.github.luben:zstd-jni:$zstdJniVersion" testImplementation "org.testcontainers:rabbitmq:1.15.3" testImplementation "org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion" }