Skip to content

chore: migrate build to Java 17#57

Merged
raeperd merged 1 commit intomasterfrom
chore/java-17-migration
May 5, 2026
Merged

chore: migrate build to Java 17#57
raeperd merged 1 commit intomasterfrom
chore/java-17-migration

Conversation

@raeperd
Copy link
Copy Markdown
Owner

@raeperd raeperd commented May 5, 2026

Summary

  • pin Java 17 with SDKMAN
  • update Gradle wrapper to 7.6.4 so the build runs on Java 17
  • update CI to use Temurin JDK 17
  • set Gradle source compatibility to 17

Test

  • ./gradlew clean build

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 5, 2026

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5d974ba638

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread build.gradle
group = 'io.github.raeperd'
version = '2.1.1'
sourceCompatibility = '11'
sourceCompatibility = '17'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Use Java 17 runtime image for Jib build

Raising sourceCompatibility to 17 means compiled classes require Java 17 bytecode support, but the Jib base image is still openjdk:11.0.10-jre-buster (build.gradle), so images built via ./gradlew jib will fail at startup with UnsupportedClassVersionError. This migration should update the runtime image to a Java 17 JRE/JDK to keep container builds runnable.

Useful? React with 👍 / 👎.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 5, 2026

Warning

Rate limit exceeded

@raeperd has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 11 minutes and 52 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: be7c9ff6-84f5-4b05-9a6b-3e8de4d38c30

📥 Commits

Reviewing files that changed from the base of the PR and between 6e303ff and 5d974ba.

📒 Files selected for processing (5)
  • .github/workflows/build.yml
  • .sdkmanrc
  • build.gradle
  • gradle/wrapper/gradle-wrapper.properties
  • lombok.config
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/java-17-migration

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@raeperd raeperd merged commit cda9af1 into master May 5, 2026
6 checks passed
@raeperd raeperd deleted the chore/java-17-migration branch May 5, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant