Skip to content

build: install JDK 11 through SDKMAN on JitPack - #67

Merged
Skumring merged 1 commit into
mainfrom
chore/jitpack-sdkman-jdk11
Oct 7, 2026
Merged

Skumring merged 1 commit into
mainfrom
chore/jitpack-sdkman-jdk11

Conversation

@Skumring

@Skumring Skumring commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Install JDK 11 through SDKMAN on JitPack.

jdk: openjdk11 (#65) does not work on the current JitPack build image: JitPack points JAVA_HOME to /usr/lib/jvm/jdk-11, which the image does not have, and the build fails before Gradle starts. This installs and selects JDK 11 through SDKMAN in before_install, as the JitPack docs suggest for a specific Java version.

The same jitpack.yml was built on JitPack by commit on top of release-4.1: BUILD SUCCESSFUL on OpenJDK 11.0.32, with the jar, sources and javadoc artifacts. It is also used for the 4.1.4 release.

The JitPack build image has no JDK 11 behind jdk: openjdk11 (JAVA_HOME points to a missing /usr/lib/jvm/jdk-11), so the build fails before Gradle starts. Install and select JDK 11 through SDKMAN instead.
@coderabbitai

coderabbitai Bot commented Oct 7, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 44 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ee85da0c-c9f5-44a3-a203-e6833a397dbc
📥 Commits

Reviewing files that changed from the base of the PR and between 28fa089 and 4e3dfd0.

📒 Files selected for processing (1)
  • jitpack.yml
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@sonarqubecloud

sonarqubecloud Bot commented Oct 7, 2026

Copy link
Copy Markdown

@Skumring
Skumring merged commit ab249b5 into main Oct 7, 2026
6 checks passed
@Skumring
Skumring deleted the chore/jitpack-sdkman-jdk11 branch October 7, 2026 15:43
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