From 365145a53138d599caea71963ebbf83ed45f4769 Mon Sep 17 00:00:00 2001 From: Jan Cizmar Date: Fri, 11 Aug 2023 12:50:42 +0200 Subject: [PATCH 1/3] docs: redisson-spring-data downgrade steps for gradle --- redisson-spring-boot-starter/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/redisson-spring-boot-starter/README.md b/redisson-spring-boot-starter/README.md index 081f65224..72867798e 100644 --- a/redisson-spring-boot-starter/README.md +++ b/redisson-spring-boot-starter/README.md @@ -34,6 +34,15 @@ Gradle |redisson-spring-data-2x |2.x.y | |redisson-spring-data-3x |3.x.y | +For gradle, you can downgrade the to `redisson-spring-data-27` this way: + +```groovy + implementation ("org.redisson:redisson-spring-boot-starter:3.23.2") { + exclude group: 'org.redisson', module: 'redisson-spring-data-31' + } + implementation "org.redisson:redisson-spring-data-27:3.23.2" +``` + ### 2. Add settings into `application.settings` file Using common Spring Boot 3.x+ settings: From eaf7d4d24f184d07a58e58200a073ed77b8e56f9 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Thu, 2 Nov 2023 11:01:41 +0300 Subject: [PATCH 2/3] Update README.md --- redisson-spring-boot-starter/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/redisson-spring-boot-starter/README.md b/redisson-spring-boot-starter/README.md index b052f2a53..dec32b1b9 100644 --- a/redisson-spring-boot-starter/README.md +++ b/redisson-spring-boot-starter/README.md @@ -34,13 +34,13 @@ Gradle |redisson-spring-data-2x |2.x.y | |redisson-spring-data-3x |3.x.y | -For gradle, you can downgrade the to `redisson-spring-data-27` this way: +For Gradle, you can downgrade to `redisson-spring-data-27` this way: ```groovy - implementation ("org.redisson:redisson-spring-boot-starter:3.23.2") { + implementation ("org.redisson:redisson-spring-boot-starter:3.24.3") { exclude group: 'org.redisson', module: 'redisson-spring-data-31' } - implementation "org.redisson:redisson-spring-data-27:3.23.2" + implementation "org.redisson:redisson-spring-data-27:3.24.3" ``` ### 2. Add settings into `application.settings` file From 29b051b8201ef9b62e63ce16a1956f899694c8aa Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Thu, 2 Nov 2023 11:02:17 +0300 Subject: [PATCH 3/3] Update README.md --- redisson-spring-boot-starter/README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/redisson-spring-boot-starter/README.md b/redisson-spring-boot-starter/README.md index dec32b1b9..d933bd0ed 100644 --- a/redisson-spring-boot-starter/README.md +++ b/redisson-spring-boot-starter/README.md @@ -11,17 +11,17 @@ Supports Spring Boot 1.3.x - 3.1.x Maven ```xml - - org.redisson - redisson-spring-boot-starter - 3.24.3 - + + org.redisson + redisson-spring-boot-starter + 3.24.3 + ``` Gradle ```groovy - compile 'org.redisson:redisson-spring-boot-starter:3.24.3' +compile 'org.redisson:redisson-spring-boot-starter:3.24.3' ``` `redisson-spring-boot-starter` depends on `redisson-spring-data` module compatible with the latest version of Spring Boot. Downgrade `redisson-spring-data` module if necessary to support previous Spring Boot versions: @@ -37,10 +37,10 @@ Gradle For Gradle, you can downgrade to `redisson-spring-data-27` this way: ```groovy - implementation ("org.redisson:redisson-spring-boot-starter:3.24.3") { - exclude group: 'org.redisson', module: 'redisson-spring-data-31' - } - implementation "org.redisson:redisson-spring-data-27:3.24.3" +implementation ("org.redisson:redisson-spring-boot-starter:3.24.3") { + exclude group: 'org.redisson', module: 'redisson-spring-data-31' +} +implementation "org.redisson:redisson-spring-data-27:3.24.3" ``` ### 2. Add settings into `application.settings` file