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