Skip to content

Generate the version file before Java builds - #160

Merged
nobu merged 1 commit into
ruby:masterfrom
OskarEichler:codex/build-java-version
Sep 4, 2026
Merged

nobu merged 1 commit into
ruby:masterfrom
OskarEichler:codex/build-java-version

Conversation

@OskarEichler

Copy link
Copy Markdown
Contributor

Summary

Make build:java depend on its generated JRuby version file.

Reproduction

A clean checkout currently fails standalone rake build:java because the Java gemspec loads a missing generated version file. Declaring the existing file task makes the command self-contained.

Verification

  • clean standalone build:java succeeds
  • candidate native and Java gems build with expected contents
  • release/cumulative candidate: 36 tests / 143 assertions
  • current upstream: 35 tests / 144 assertions

Compatibility

Build-task dependency only; runtime and package interfaces are unchanged. Prepared with AI-assisted source review; no repository tests were changed.

@nobu
nobu merged commit 82d9f76 into ruby:master Sep 4, 2026
36 checks passed
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