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