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