Add more config generated by agent

This commit is contained in:
AsamK 2021-01-23 00:00:07 +01:00
parent de3b077a6f
commit b4311c7b76
5 changed files with 488 additions and 29 deletions

View file

@ -83,19 +83,18 @@ dependencies. If you have a recent gradle version installed, you can replace `./
./gradlew distTar
### Building a native binary with GraalVM
### Building a native binary with GraalVM (EXPERIMENTAL)
It is possible to build a native binary with [GraalVM](https://www.graalvm.org).
This is still experimental and will not work in all situations.
1. [Install GraalVM and setup the enviroment](https://www.graalvm.org/docs/getting-started/#install-graalvm)
2. [Install prerequisites](https://www.graalvm.org/reference-manual/native-image/#prerequisites)
2. Execute Gradle:
3. Execute Gradle:
./gradle nativeImage
./gradlew assembleNativeImage
The binary is available at
build/native-image/signal-cli
The binary is available at *build/native-image/signal-cli*
## Troubleshooting
If you use a version of the Oracle JRE and get an InvalidKeyException you need to enable unlimited strength crypto. See https://stackoverflow.com/questions/6481627/java-security-illegal-key-size-or-default-parameters for instructions.