- Clone and build the DeRec cryptography library repository
- Clone the repo
- Open the project in IntelliJ
- Add the native cryptography library (ex: the
.dylib
file) to this project's file structure. Make sure to modify the cryptography library under Modules > Dependencies. Instructions to do this can be found here. - In the file strucure on the screen, navigate to
impl/src/generated
- Right-click the
generated
folder, and select "Mark Directory As" > "Unmark as Sources Root" - Then, the folders within
generated
should expand. Right-click onimpl/src/generated/java
and select "Mark Directory As" > "Sources Root". - Mark
generated
as sources root as well by right-clicking onimpl/src/generated
and selecting Mark Directory As" > "Sources Root". Now, bothgenerated
andjava
folders should be marked as sources roots (the folder icon turns blue). - In the terminal, navigate to the root directory
dereclib
and runmvn clean compile package install
- In the terminal,
dereclib/api
and runmvn clean compile package install
- In the terminal,
dereclib/impl
and runmvn clean compile package install
- Run
mvn validate
in theimpl
directory to format all files if changes are made.