Skip to content

Pin Java 17 with mise - #19

Merged
QuinnKenison merged 1 commit into
mainfrom
add-mise
Sep 4, 2026
Merged

QuinnKenison merged 1 commit into
mainfrom
add-mise

Conversation

@jakepusateri

Copy link
Copy Markdown
Contributor

What

Adds a .mise.toml pinning java = "temurin-17" so anyone with mise installed gets the correct JDK via mise install.

Why

No full WPILib/VS Code installer is needed to build FRC Java — the Gradle build pulls WPILib + vendor deps from public Maven. The only prerequisite is a JDK 17. mise handles that deterministically, and mise exec -- ./gradlew build builds the repo cleanly.

Verification

  • mise install → Temurin JDK 17.0.20
  • mise exec -- ./gradlew build → BUILD SUCCESSFUL

Lets anyone with mise installed auto-provision the correct JDK
(mise install) so the project builds without a full WPILib/VS Code
installer.
@jakepusateri
jakepusateri marked this pull request as ready for review September 3, 2026 20:48
@QuinnKenison
QuinnKenison merged commit 79c20eb into main Sep 4, 2026
2 checks passed
@QuinnKenison
QuinnKenison deleted the add-mise branch September 4, 2026 01:23
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.

2 participants