File tree 2 files changed +2
-6
lines changed
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -118,10 +118,6 @@ test {
118
118
119
119
jar {
120
120
dependsOn(" usearchSharedLibrary" )
121
- from(" $buildDir /libs/usearch/shared" ) {
122
- include " libusearch.so" , " libusearch.dylib" , " libusearch.dll"
123
- into " usearch"
124
- }
125
121
from sourceSets. main. output
126
122
}
127
123
Original file line number Diff line number Diff line change @@ -375,9 +375,9 @@ public Config expansion_search(long _expansion_search) {
375
375
} catch (UnsatisfiedLinkError e ) {
376
376
try {
377
377
if (System .getProperty ("os.name" ).equals ("Mac OS X" )) {
378
- NativeUtils .loadLibraryFromJar ("/usearch/libusearch.dylib" );
378
+ NativeUtils .loadLibraryFromJar ("/usearch/shared/ libusearch.dylib" );
379
379
} else {
380
- NativeUtils .loadLibraryFromJar ("/usearch/libusearch.so" );
380
+ NativeUtils .loadLibraryFromJar ("/usearch/shared/ libusearch.so" );
381
381
}
382
382
} catch (IOException e1 ) {
383
383
throw new RuntimeException (e1 );
You can’t perform that action at this time.
0 commit comments