This is a Java wrapper for VCX library. VCX is the open-source library on top of Libindy which fully implements the credentials exchange.
Note: This library is currently in experimental state.
This Java wrapper currently requires Java 8.
In your maven project add to pom.xml file next content:
-
Inside repositories tag block add:
sovrin https://repo.sovrin.org/repository/maven-public -
Inside dependencies tag block add:
com.evernym vcx 0.6.2
Note that before you can use java wrapper you must install c-callable SDK and Vcx.
- See the section "Installing the SDK" in the Indy SDK documentation
- See the section "Installing VCX" in the VCX documentation
- run
./gradlew clean build
.
The jar will be present in indy-sdk/vcx/wrappers/java/vcx/build/libs
- Copy the binaries i.e
libvcx.so
to folderindy-sdk/vcx/wrappers/java/vcx/android/src/main/jniLibs/<ARCH>
.- Make sure the binaries are in correct architecture folders.
- run
./gradlew clean build --project-dir=android
in folderindy-sdk/vcx/wrappers/java/vcx
###Publishing the AAR
- run
./gradlew clean assemble --project-dir=android
in folderindy-sdk/vcx/wrappers/java/vcx
Aar will be present in indy-sdk/vcx/wrappers/java/vcx/android/build/outputs/aar
The Java wrapper uses slf4j as a facade for various logging frameworks, such as java.util.logging, logback and log4j.