Skip to main content

Build from source

Prerequisites

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