Build from source
Prerequisites
-
Java JDK version 11 or higher.
-
libsodium is required if using kalium instead of the default jnacl NaCl implementation. See the libsodium installation docs or install using brew (macOS only):
brew install libsodium
Build Tessera
Clone the ConsenSys/tessera
repository:
git clone https://github.com/ConsenSys/tessera.git
After cloning, go to the tessera
directory.
Build Tessera with the Gradle wrapper gradlew
, omitting tests as follows:
./gradlew build -x test
If you get errors about code coverage, you can exclude those tasks:
./gradlew build -x test -x :cli:spotlessGroovyGradle -x :config:jacocoTestCoverageVerification -x spotlessJava -x jacocoTestCoverageVerification -x spotlessGroovyGradle -x jacocoTestCoverageVerification -x javadoc
Verify the installation with the help
command:
./tessera-dist/build/install/tessera/bin/tessera help