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