Repository navigation
Conversation
Contributor
|
CI is failing on this one |
Contributor
|
CI still failing :( |
rokadias
force-pushed
the
saqib/set-java-version-via-gradle
branch
from
November 15, 2026 02:11
5d57f42 to
71d41f9
Compare
Contributor
Author
Yeah, kind of intentional proves that it's working when it doesn't match the version. Updated the version now, and should pass if it matches what happened on SeriouslyCommonLib. |
aschokking
reviewed
Nov 15, 2026
| } | ||
| } | ||
|
|
||
| java { |
Contributor
There was a problem hiding this comment.
There's already a Java block above right? I'm a little confused about what's different here
java {
toolchain {
languageVersion = JavaLanguageVersion.of(25)
}
sourceCompatibility = JavaVersion.VERSION_25
targetCompatibility = JavaVersion.VERSION_25
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I've accidentally deployed to the robot using java 21 since that's what my language server uses, and I've had students have issues with getting the "right" java version installed.
Excerpt:
https://docs.gradle.org/current/userguide/toolchains.html#sec:using-java-toolchains