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