mirror of
https://github.com/kiwix/java-libkiwix.git
synced 2025-09-14 09:36:20 -04:00
Fix path according to new folder structure
This commit is contained in:
parent
f7e4a5be6c
commit
9b7067ddd2
@ -267,7 +267,7 @@ task renameLibkiwixSoFile(type: Copy) {
|
||||
|
||||
task copyBuildKiwixSoFile(type: Copy) {
|
||||
// copying linux_x86_64 so file
|
||||
from projectDir.path + "/src/androidTests/java/org/kiwix/kiwixlib/libbuildkiwix.so"
|
||||
from projectDir.path + "/src/test/libbuildkiwix.so"
|
||||
into buildDir.path
|
||||
}
|
||||
|
||||
|
@ -35,8 +35,8 @@ if (JNI_FOUND)
|
||||
endif()
|
||||
|
||||
include_directories(
|
||||
/usr/lib/jvm/java-11-openjdk-amd64/include
|
||||
/usr/lib/jvm/java-11-openjdk-amd64/include/linux
|
||||
/opt/hostedtoolcache/jdk/11.0.17/x64/include
|
||||
/opt/hostedtoolcache/jdk/11.0.17/x64/include/linux
|
||||
${PROJECT_SOURCE_DIR}/../main/cpp
|
||||
${PROJECT_SOURCE_DIR}/../../build/include/libkiwix
|
||||
${PROJECT_SOURCE_DIR}/../../build/include/libzim
|
||||
|
@ -14,9 +14,9 @@ cmake .
|
||||
make
|
||||
|
||||
# Copy generated .so file to build directory to run test cases
|
||||
cd ../../../../../../../
|
||||
cd ../../../
|
||||
./gradlew copyBuildKiwixSoFile
|
||||
cd app/src/androidTests/java/org/kiwix/kiwixlib/
|
||||
cd lib/src/test
|
||||
|
||||
KIWIX_LIB_JAR=$1
|
||||
if [ -z $KIWIX_LIB_JAR ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user