Update README.md

pull/5420/head
Nikita Koksharov 1 year ago committed by GitHub
parent eaf7d4d24f
commit 29b051b820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,17 +11,17 @@ Supports Spring Boot 1.3.x - 3.1.x
Maven
```xml
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson-spring-boot-starter</artifactId>
<version>3.24.3</version>
</dependency>
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson-spring-boot-starter</artifactId>
<version>3.24.3</version>
</dependency>
```
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

Loading…
Cancel
Save