Skip to content

Commit f865fd2

Browse files
sonus21claude
andcommitted
build: pin lettuce-core to explicit version to fix Netty 4.1/4.2 conflict
spring-boot-data-redis 4.0.1 pulls spring-boot-netty which upgrades netty-common to 4.2.x while lettuce-core 6.8.x keeps other Netty artifacts at 4.1.x, causing AbstractMethodError at startup. Pinning lettuce-core to the project-defined lettuceVersion (7.2.1) aligns all Netty modules to 4.2.x as expected by Spring Boot 4.0. Also rename CLAUDE.md → AGENTS.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b85937b commit f865fd2

3 files changed

Lines changed: 30 additions & 18 deletions

File tree

AGENTS.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Project rules for AI tools
2+
3+
## Commits
4+
5+
**Never add `Co-Authored-By:` trailers crediting any AI tool to a git commit.**
6+
7+
This includes any AI assistant (e.g. GitHub Copilot, Cursor, Codeium, Gemini, and similar tools). Commits must list a human author only — AI tools are not co-authors.
8+
9+
**You may add an `Assisted-By:` trailer naming the tool.** Example:
10+
11+
```
12+
Assisted-By: <tool name>
13+
```
14+
15+
Use a short, plain tool name. No emails, no URLs, no marketing taglines. One trailer per commit is enough.
16+
17+
If your default commit template includes a `Co-Authored-By:` for an AI tool, strip it before committing and replace it with `Assisted-By: <tool>` instead. This rule applies to all branches and to rewrites.
18+
19+
## Versioning
20+
21+
**Never change the version declared in any project file** (`build.gradle`, `gradle.properties`, `pom.xml`, etc.) that is already stored locally.
22+
23+
If you need to publish a patched or experimental build, append a suffix to the existing version string instead of bumping the base version. Examples:
24+
25+
- `4.0.0-RC6``4.0.0-RC6-fix1`
26+
- `4.0.0-RC6``4.0.0-RC6-SNAPSHOT`
27+
28+
Never remove or increment the base version number. The human decides when the official version changes.

CLAUDE.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

rqueue-spring-boot-example/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ plugins {
22
id "org.springframework.boot" version "${springBootVersion}"
33
id "war"
44
}
5+
56
dependencies {
67
implementation project(":rqueue-spring-boot-starter")
78
implementation "org.springframework.boot:spring-boot-starter-data-redis:${springBootVersion}"
@@ -10,7 +11,7 @@ dependencies {
1011
implementation "ch.qos.logback:logback-core:${logbackVersion}"
1112
// https://mvnrepository.com/artifact/ch.qos.logback/logback-classic
1213
implementation "ch.qos.logback:logback-classic:${logbackVersion}"
13-
implementation "io.lettuce:lettuce-core"
14+
implementation "io.lettuce:lettuce-core:${lettuceVersion}"
1415
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor:${springBootVersion}"
1516
providedRuntime "org.springframework.boot:spring-boot-starter-tomcat:${springBootVersion}"
1617
}

0 commit comments

Comments
 (0)