chore(gradle): make supported OS for zstd compression

This commit is contained in:
luiz-otavio committed 2022-04-06 00:32:55 -03:00
1 parent 5aa5fb335c
commit 6294062d23
1 file changed
+16 -1
+16 -1
View File
@@ -34,6 +34,16 @@ configurations {
compile.extendsFrom shade
}
// List of all supported OS for zstd compression (This is include only for anyone which is not using the default compression)
def supportedOS = [
"linux_amd64",
"linux_i386",
"win_amd64",
"win_x86",
"darwin_x86_64",
"darwin_aarch64"
]
dependencies {
// you may put jars on which you depend on in ./libs
// or you may define them like so..
@@ -47,7 +57,12 @@ dependencies {
// for more info...
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
// http://www.gradle.org/docs/current/userguide/dependency_management.html
shade 'com.github.luben:zstd-jni:1.5.2-2'
// shade 'com.github.luben:zstd-jni:1.5.2-2' - Remove almost implementations of zstd
for (os in supportedOS) {
shade ("com.github.luben:zstd-jni:1.5.2-2:${os}")
}
}
processResources