Repository navigation
Cross-build sbt-fs2-grpc for sbt 1 and 2 - #893
Merged
ahjohannessen merged 1 commit intoNov 28, 2026
Merged
Conversation
ahjohannessen
force-pushed
the
codex/cross-build-sbt-2
branch
from
November 28, 2026 07:34
2fc61f0 to
f81fefb
Compare
Publish separate sbt 1 and sbt 2 plugin variants using the existing sbt 1 build. Build the sbt 2 variant with sbt 2.1.0, Scala 3.9.0, and sbt-protoc 1.1.0-RC3, and publish the exclusion of ScalaPB's older protoc-bridge. Retain JDK 8 coverage for sbt 1 and the libraries, publish from JDK 17, and prepare the 3.2 release line. Validation: the implementation passed GitHub Actions on JDK 8 and 17, including all five scripted fixtures for both plugin variants, formatting, headers, workflow checks, binary compatibility, and API documentation. The subsequent base-version bump passed git diff --check. Co-authored-by: Codex <codex@openai.com>
ahjohannessen
force-pushed
the
codex/cross-build-sbt-2
branch
from
November 28, 2026 07:36
f81fefb to
354607a
Compare
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.
Cross-build
sbt-fs2-grpcfor sbt 1 and sbt 2 from the existing sbt 1.13.1 build. Consumers use the sameaddSbtPlugindeclaration on either sbt line.sbt-fs2-grpc_2.12_1.0sbt-fs2-grpc_sbt2_3The sbt 2 plugin is built with Scala 3.9.0 and requires sbt 2.1.0+ and JDK 17+. It excludes ScalaPB’s older transitive
protoc-bridgedependency and uses the version supplied by sbt-protoc RC3. The exclusion is published for consumers, avoiding the dependency conflict without relaxing eviction checks.CI retains JDK 8 coverage for the sbt 1 plugin and libraries. JDK 17 exercises both plugin variants and handles publishing. The aggregate root opts out of cross-publishing so each variant is published once by
+publish.Both variants run the same five scripted fixtures against locally published artifacts. Each fixture compiles generated sources and checks expected output; the context fixture also checks the generated Scala 3
usingparameter.CI passed: tests on JDK 8 and 17, workflow checks, formatting, headers, binary compatibility, and API documentation.
Related to #856.