File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -84,18 +84,22 @@ task generateJNI(type: Exec) {
84
84
}
85
85
86
86
test {
87
- systemProperty " java.library.path" , " $buildDir /install/lib/ "
87
+ systemProperty " java.library.path" , " $buildDir /install/lib: $b uildDir /install/lib64: $b uildDir /install/bin: $b uildDir /tiledb_jni: $b uildDir /tiledb_jni/Release "
88
88
testLogging {
89
89
showStandardStreams = true
90
90
}
91
91
}
92
92
93
93
jar {
94
94
into(new File (' lib' , osdetector. classifier). toString()) {
95
+ // Linux and macOS
95
96
from file(" $buildDir /install/lib/${ System.mapLibraryName("tiledb")} " )
96
- from file(" $buildDir /install/lib/${ System.mapLibraryName("tiledbjni")} " )
97
97
from file(" $buildDir /install/lib64/${ System.mapLibraryName("tiledb")} " )
98
- from file(" $buildDir /install/lib64/${ System.mapLibraryName("tiledbjni")} " )
98
+ from file(" $buildDir /tiledb_jni/${ System.mapLibraryName("tiledbjni")} " )
99
+ // Windows
100
+ from file(" $buildDir /install/bin/${ System.mapLibraryName("tbb")} " )
101
+ from file(" $buildDir /install/bin/${ System.mapLibraryName("tiledb")} " )
102
+ from file(" $buildDir /tiledb_jni/Release/${ System.mapLibraryName("tiledbjni")} " )
99
103
}
100
104
101
105
manifest {
You can’t perform that action at this time.
0 commit comments