From 0699acc9992dbee37bcd3505d7b9856ede6f414c Mon Sep 17 00:00:00 2001 From: LSmyrnaios Date: Thu, 27 Jul 2023 17:42:57 +0300 Subject: [PATCH] Make sure we use the latest version of the "zstd-jni" library, where the core code for the "ZStandard" compression algorithm is. The Apache's "commons-compress" package which wraps it in a file-managements code, updates the "zstd-jni" less often. --- build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 325004a..c64195f 100644 --- a/build.gradle +++ b/build.gradle @@ -49,7 +49,10 @@ dependencies { implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0' // https://mvnrepository.com/artifact/org.apache.commons/commons-compress - implementation 'org.apache.commons:commons-compress:1.23.0' + implementation("org.apache.commons:commons-compress:1.23.0") { + exclude group: 'com.github.luben', module: 'zstd-jni' + } + implementation 'com.github.luben:zstd-jni:1.5.5-5' // Even though this is part of the above dependency, the Apache commons rarely updates it, while the zstd team makes improvements very often. implementation 'io.minio:minio:8.5.4'