From cbfc39ab96934b4d62a45ad187964b362f86b0e4 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Mon, 27 Jan 2025 14:10:17 +0100 Subject: [PATCH] Add section about custom sop-java --- README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0559d83..415f80e 100644 --- a/README.md +++ b/README.md @@ -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 ```