How to add a dependency to Maven
Add the following com.luhuiguo.hyperledger.fabric-sdk-java : fabric-sdk-java maven dependency to the pom.xml
file with your favorite IDE (IntelliJ / Eclipse / Netbeans):
<dependency>
<groupId>com.luhuiguo.hyperledger.fabric-sdk-java</groupId>
<artifactId>fabric-sdk-java</artifactId>
<version>2.2.12.GM</version>
</dependency>
How to add a dependency to Gradle
Gradle Groovy DSL: Add the following com.luhuiguo.hyperledger.fabric-sdk-java : fabric-sdk-java gradle dependency to your build.gradle
file:
implementation 'com.luhuiguo.hyperledger.fabric-sdk-java:fabric-sdk-java:2.2.12.GM'
Gradle Kotlin DSL: Add the following com.luhuiguo.hyperledger.fabric-sdk-java : fabric-sdk-java gradle kotlin dependency to your build.gradle.kts
file:
implementation("com.luhuiguo.hyperledger.fabric-sdk-java:fabric-sdk-java:2.2.12.GM")
How to add a dependency to SBT Scala
SBT Scala: Add the following com.luhuiguo.hyperledger.fabric-sdk-java : fabric-sdk-java sbt scala dependency to your build.sbt
file:
libraryDependencies += "com.luhuiguo.hyperledger.fabric-sdk-java" % "fabric-sdk-java" % "2.2.12.GM"