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