Add section about custom sop-java

This commit is contained in:
Paul Schaub 2025-01-27 14:10:17 +01:00
parent ed33faf6de
commit cbfc39ab96
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -9,8 +9,10 @@ There are two modules in this repository:
# Build
Currently, this build depends on an open development branch of Bouncy Castle, which can be found in an external repository [here](https://github.com/pgpainless/bc-java/tree/valiadateAPI).
To make this code available to bcsop, you need to clone the repository and locally install the custom BC build:
Currently, this build depends on an open development branch of Bouncy Castle, which can be found in an
external repository [here](https://github.com/pgpainless/bc-java/tree/valiadateAPI).
To make this code available to bcsop, you need to clone the repository and locally install the custom
BC build:
```bash
git clone git@github.com:pgpainless/bc-java.git
@ -19,10 +21,19 @@ git checkout valiadateAPI
gradle publishToMavenLocal
```
In order to build the GraalVM native-image of the CLI app, you need to have graalvm 21.0.5 installed and `GRAALVM_HOME` pointing to it.
Furthermode, you need a custom build of `sop-java` which can similarly be build like this:
```bash
git clone git@github.com:pgpainless/sop-java.git
gradle publishToMavenLocal
```
In order to build the GraalVM native-image of the CLI app, you need to have graalvm 21.0.5 installed
and `GRAALVM_HOME` pointing to it.
The easiest way to accomplish this is using [sdkman](https://sdkman.io).
Afterwards, you can navigate to your clone of this repository and build the CLI app as a GraalVM native-image using this command:
Afterwards, you can navigate to your clone of this repository and build the CLI app as a GraalVM
native-image using this command:
```bash
mvn clean install -Dmaven.test.skip
```