File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -118,10 +118,6 @@ test {
118118
119119jar {
120120 dependsOn(" usearchSharedLibrary" )
121- from(" $buildDir /libs/usearch/shared" ) {
122- include " libusearch.so" , " libusearch.dylib" , " libusearch.dll"
123- into " usearch"
124- }
125121 from sourceSets. main. output
126122}
127123
Original file line number Diff line number Diff line change @@ -375,9 +375,9 @@ public Config expansion_search(long _expansion_search) {
375375 } catch (UnsatisfiedLinkError e ) {
376376 try {
377377 if (System .getProperty ("os.name" ).equals ("Mac OS X" )) {
378- NativeUtils .loadLibraryFromJar ("/usearch/libusearch.dylib" );
378+ NativeUtils .loadLibraryFromJar ("/usearch/shared/ libusearch.dylib" );
379379 } else {
380- NativeUtils .loadLibraryFromJar ("/usearch/libusearch.so" );
380+ NativeUtils .loadLibraryFromJar ("/usearch/shared/ libusearch.so" );
381381 }
382382 } catch (IOException e1 ) {
383383 throw new RuntimeException (e1 );
You can’t perform that action at this time.
0 commit comments