From dbae7fe92b72f9251c3fc869ada9f8dcb66461cb Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Tue, 26 Feb 2019 12:45:16 +0300 Subject: [PATCH] Update README.md --- redisson-spring-data/README.md | 55 +++++++++------------------------- 1 file changed, 14 insertions(+), 41 deletions(-) diff --git a/redisson-spring-data/README.md b/redisson-spring-data/README.md index dd90b4ae1..5cddf33b3 100644 --- a/redisson-spring-data/README.md +++ b/redisson-spring-data/README.md @@ -5,17 +5,16 @@ Integrates Redisson with Spring Data Redis library. Implements Spring Data's `Re Supports Spring Data Redis 1.6.x, 1.7.x, 1.8.x, 2.0.x, 2.1.x -Please consider __[Redisson PRO](https://redisson.pro)__ version for advanced features and support by SLA. +Consider __[Redisson PRO](https://redisson.pro)__ version for advanced features and support by SLA. Usage === ### 1. Add `redisson-spring-data` dependency into your project: -1. __For JDK 1.8+__ +Maven - Maven - ```xml +```xml org.redisson @@ -28,50 +27,24 @@ Usage redisson-spring-data-20 redisson-spring-data-21 - 3.10.2 + 3.10.3 - ``` - Gradle +``` + +Gradle - ```java +```java // for Spring Data Redis v.1.6.x - compile 'org.redisson:redisson-spring-data-16:3.10.2' + compile 'org.redisson:redisson-spring-data-16:3.10.3' // for Spring Data Redis v.1.7.x - compile 'org.redisson:redisson-spring-data-17:3.10.2' + compile 'org.redisson:redisson-spring-data-17:3.10.3' // for Spring Data Redis v.1.8.x - compile 'org.redisson:redisson-spring-data-18:3.10.2' + compile 'org.redisson:redisson-spring-data-18:3.10.3' // for Spring Data Redis v.2.0.x - compile 'org.redisson:redisson-spring-data-20:3.10.2' + compile 'org.redisson:redisson-spring-data-20:3.10.3' // for Spring Data Redis v.2.1.x - compile 'org.redisson:redisson-spring-data-21:3.10.2' - ``` - -2. __For JDK 1.6+__ - - Maven - ```xml - - org.redisson - - redisson-spring-data-16 - - redisson-spring-data-17 - - redisson-spring-data-18 - 2.15.2 - - ``` - Gradle - - ```java - // for Spring Data Redis v.1.6.x - compile 'org.redisson:redisson-spring-data-16:2.15.2' - // for Spring Data Redis v.1.7.x - compile 'org.redisson:redisson-spring-data-17:2.15.2' - // for Spring Data Redis v.1.8.x - compile 'org.redisson:redisson-spring-data-18:2.15.2' - ``` - + compile 'org.redisson:redisson-spring-data-21:3.10.3' +``` ### 2. Register `RedissonConnectionFactory` in Spring context