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