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