How to add a dependency to Maven
Add the following io.nuls.v2 : off-smartcontract-api maven dependency to the pom.xml
file with your favorite IDE (IntelliJ / Eclipse / Netbeans):
<dependency>
<groupId>io.nuls.v2</groupId>
<artifactId>off-smartcontract-api</artifactId>
<version>0.30</version>
</dependency>
How to add a dependency to Gradle
Gradle Groovy DSL: Add the following io.nuls.v2 : off-smartcontract-api gradle dependency to your build.gradle
file:
implementation 'io.nuls.v2:off-smartcontract-api:0.30'
Gradle Kotlin DSL: Add the following io.nuls.v2 : off-smartcontract-api gradle kotlin dependency to your build.gradle.kts
file:
implementation("io.nuls.v2:off-smartcontract-api:0.30")
How to add a dependency to SBT Scala
SBT Scala: Add the following io.nuls.v2 : off-smartcontract-api sbt scala dependency to your build.sbt
file:
libraryDependencies += "io.nuls.v2" % "off-smartcontract-api" % "0.30"