Skip to content

Commit

Permalink
Add support for com.github.luben:zstd-jni:1.5.2-5
Browse files Browse the repository at this point in the history
  • Loading branch information
linghengqian committed Dec 5, 2022
1 parent e0ab4f6 commit 3af6c15
Show file tree
Hide file tree
Showing 15 changed files with 715 additions and 562 deletions.
5 changes: 5 additions & 0 deletions metadata/com.github.luben/zstd-jni/1.5.2-5/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[
"jni-config.json",
"reflect-config.json",
"resource-config.json"
]
114 changes: 114 additions & 0 deletions metadata/com.github.luben/zstd-jni/1.5.2-5/jni-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
[
{
"condition": {
"typeReachable": "com.github.luben.zstd.ZstdCompressCtx"
},
"name": "com.github.luben.zstd.ZstdCompressCtx",
"fields": [
{
"name": "nativePtr"
}
]
},
{
"condition": {
"typeReachable": "com.github.luben.zstd.ZstdDecompressCtx"
},
"name": "com.github.luben.zstd.ZstdDecompressCtx",
"fields": [
{
"name": "nativePtr"
}
]
},
{
"condition": {
"typeReachable": "com.github.luben.zstd.ZstdDictCompress"
},
"name": "com.github.luben.zstd.ZstdDictCompress",
"fields": [
{
"name": "nativePtr"
}
]
},
{
"condition": {
"typeReachable": "com.github.luben.zstd.ZstdDictDecompress"
},
"name": "com.github.luben.zstd.ZstdDictDecompress",
"fields": [
{
"name": "nativePtr"
}
]
},
{
"condition": {
"typeReachable": "com.github.luben.zstd.ZstdDirectBufferCompressingStreamNoFinalizer"
},
"name": "com.github.luben.zstd.ZstdDirectBufferCompressingStream$1"
},
{
"condition": {
"typeReachable": "com.github.luben.zstd.ZstdDirectBufferCompressingStreamNoFinalizer"
},
"name": "com.github.luben.zstd.ZstdDirectBufferCompressingStreamNoFinalizer",
"fields": [
{
"name": "consumed"
},
{
"name": "produced"
}
]
},
{
"condition": {
"typeReachable": "com.github.luben.zstd.ZstdDirectBufferDecompressingStreamNoFinalizer"
},
"name": "com.github.luben.zstd.ZstdDirectBufferDecompressingStream$1"
},
{
"condition": {
"typeReachable": "com.github.luben.zstd.ZstdDirectBufferDecompressingStreamNoFinalizer"
},
"name": "com.github.luben.zstd.ZstdDirectBufferDecompressingStreamNoFinalizer",
"fields": [
{
"name": "consumed"
},
{
"name": "produced"
}
]
},
{
"condition": {
"typeReachable": "com.github.luben.zstd.ZstdInputStreamNoFinalizer"
},
"name": "com.github.luben.zstd.ZstdInputStreamNoFinalizer",
"fields": [
{
"name": "dstPos"
},
{
"name": "srcPos"
}
]
},
{
"condition": {
"typeReachable": "com.github.luben.zstd.ZstdOutputStreamNoFinalizer"
},
"name": "com.github.luben.zstd.ZstdOutputStreamNoFinalizer",
"fields": [
{
"name": "dstPos"
},
{
"name": "srcPos"
}
]
}
]
38 changes: 38 additions & 0 deletions metadata/com.github.luben/zstd-jni/1.5.2-5/reflect-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[
{
"condition": {
"typeReachable": "com.github.luben.zstd.util.Native"
},
"name": "java.security.SecureRandomParameters"
},
{
"condition": {
"typeReachable": "com.github.luben.zstd.util.Native"
},
"name": "org.osgi.framework.BundleEvent"
},
{
"condition": {
"typeReachable": "com.github.luben.zstd.util.Native"
},
"name": "sun.security.provider.NativePRNG",
"methods": [
{
"name": "<init>",
"parameterTypes": []
}
]
},
{
"condition": {
"typeReachable": "com.github.luben.zstd.util.Native"
},
"name": "sun.security.provider.SHA",
"methods": [
{
"name": "<init>",
"parameterTypes": []
}
]
}
]
13 changes: 13 additions & 0 deletions metadata/com.github.luben/zstd-jni/1.5.2-5/resource-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"bundles": [],
"resources": {
"includes": [
{
"condition": {
"typeReachable": "com.github.luben.zstd.util.Native"
},
"pattern": "[a-z]+/[a-z0-9]+/libzstd-jni-[0-9.-]+(so|dll|dylyb)"
}
]
}
}
10 changes: 10 additions & 0 deletions metadata/com.github.luben/zstd-jni/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"latest": true,
"metadata-version": "1.5.2-5",
"module": "com.github.luben:zstd-jni",
"tested-versions": [
"1.5.2-5"
]
}
]
Loading

0 comments on commit 3af6c15

Please sign in to comment.