Jedis

redis.clients : jedis

Jedis is a blazingly small and sane Redis java client.

[Website] ·
1,300 usages
· 10,210 stars

Add dependency in Maven / Gradle

<dependency>
    <groupId>redis.clients</groupId>
    <artifactId>jedis</artifactId>
    <version>4.0.1</version>
</dependency>

How to add dependency in a project

  1. Add dependency to a Maven project
  2. Add dependency to a Gradle project
  3. Add dependency to a SBT Scala project
  4. Add dependency to a Grape project

1. Add dependency to a Maven project

Maven: Add the redis.clients:jedis library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>redis.clients</groupId>
  <artifactId>jedis</artifactId>
  <version>4.0.1</version>
</dependency>
</dependencies>

To install redis.clients:jedis library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the redis.clients:jedis library to the dependencies section of your build.gradle file:

dependencies {
implementation 'redis.clients:jedis:4.0.1'
}

Gradle Kotlin DSL: Add the redis.clients:jedis library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("redis.clients:jedis:4.0.1")
}

3. Add dependency to a SBT Scala project

Scala: Add the redis.clients:jedis library to your build.sbt file:

libraryDependencies += "redis.clients" % "jedis" % "4.0.1"

4. Add dependency to a Grape project

Grape: Add an annotation redis.clients:jedis library to your groovy script file:

@Grapes(
    @Grab('redis.clients:jedis:4.0.1')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (4)

Group / Artifact Usage
junit » junit 63,836
org.slf4j » slf4j-simple 7,094
com.kohlschutter.junixsocket » junixsocket-core 13
org.mockito » mockito-core 16,223