build: cross-publish plugin for sbt 1 and sbt 2 - #90
Merged
wing328 merged 1 commit intoJun 24, 2026
Conversation
reynaldjoabet
force-pushed
the
cross-publish-sbt1-and-sbt2
branch
from
June 8, 2026 21:28
9b89573 to
0af8571
Compare
Member
|
thanks for the PR we will include it in the next stable release |
reynaldjoabet
force-pushed
the
cross-publish-sbt1-and-sbt2
branch
from
June 15, 2026 21:09
0af8571 to
699e23c
Compare
|
Is there an ETA? Would love to upgrade to sbt 2.0 |
Member
Member
|
@ags313 i just merged it. can you please pull the latest master to test it when you've time? |
|
@wing328 Would it be possible, to release a ne version already? Would be nice to have sbt 2 support already and not wait for the next upstream release of openapi generator. |
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.
Enable cross-building so the plugin publishes against both
sbt 1.x (Scala 2.12) and sbt 2.x (Scala 3), and align the CI/
release workflows with sbt 2's JDK 17 requirement.
build.sbt:
CI:
Summary by cubic
Cross-publish the
sbt-openapi-generatorplugin for sbt 1.x (Scala 2.12) and sbt 2.x (Scala 3). Align CI and bytecode targets with sbt 2’s JDK 17 requirements.crossScalaVersions := Seq(2.12.20, 3.8.4)-release: 11 (Scala 2.12), 17 (Scala 3)2.0.0, Scala 3 →3.8.4, sbt 1 build →1.12.11actions/checkout@v6,actions/setup-java@v5, runsbt +test +scriptedacross both Scala axesWritten for commit 0af8571. Summary will update on new commits.