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