Skip to content

[1.x] bport: handle --version in sbt 2.x project dirs#8739

Merged
eed3si9n merged 1 commit intosbt:1.12.xfrom
eed3si9n:bport/version-flags
Feb 14, 2026
Merged

[1.x] bport: handle --version in sbt 2.x project dirs#8739
eed3si9n merged 1 commit intosbt:1.12.xfrom
eed3si9n:bport/version-flags

Conversation

@eed3si9n
Copy link
Copy Markdown
Member

This is a backport of #8735

Problem

sbt --version in sbt 2.x project directories was delegated to the native client, which could try to start/connect to a server instead of printing version info.

Solution

Skip native-client delegation when --version is requested, and add runner-script tests for sbt 1.x and 2.x project variants.

)

**Problem**
`sbt --version` in sbt 2.x project directories was delegated to the native client, which could try to start/connect to a server instead of printing version info.

**Solution**
Skip native-client delegation when `--version` is requested, and add runner-script tests for sbt 1.x and 2.x project variants.
@eed3si9n eed3si9n merged commit 4467369 into sbt:1.12.x Feb 14, 2026
10 checks passed
@eed3si9n eed3si9n deleted the bport/version-flags branch February 14, 2026 10:01
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