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