feat: derive version from gradle.properties, eliminate hardcoded versions#318
Conversation
Replace 4 hardcoded '0.1.0-SNAPSHOT' references with BuildVersion that reads from version.properties generated at build time. - gradle.properties: single source of truth (now 0.3.0-SNAPSHOT) - aceclaw-core/build.gradle.kts: generates version.properties resource - BuildVersion.java: reads version from classpath resource - AceClawMain, RequestRouter: use BuildVersion.version() - Release workflow already bumps gradle.properties via git-cliff Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
BuildVersion.javareads fromversion.propertiesgenerated at build timegradle.propertiesis the single source of truth (bumped to0.3.0-SNAPSHOT)0.1.0-SNAPSHOTreferences replacedrelease.yml) already bumpsgradle.propertiesvia git-cliff — now the version flows through to Java code automaticallyTest plan
./gradlew buildpassesversion.propertiesgenerated with correct content🤖 Generated with Claude Code