We are already in the java directory, so sed cannot find settings.gradle if you put a superfluous java/settings.gradle

Vulpes Vulpes 2022-04-22 19:06:55 +02:00
parent 71ae40adfc
commit 20e461151d

@ -44,7 +44,7 @@ Once everything is setup, navigate to the root of the libsignal-client codebase:
```sh
$ cd java
$ # Prevent building the android library
$ sed -i "s/include ':android'//" java/settings.gradle
$ sed -i "s/include ':android'//" settings.gradle
$ ./build_jni.sh desktop
```
Then the native lib can be found in the libsignal-client sub-directory: `target/release/libsignal_jni.so` (the file extension will be `.dylib` on MacOS and `.dll` on Windows, instead of `.so`).