build: cross-publish plugin for sbt 1 and sbt 2#90
Open
reynaldjoabet wants to merge 1 commit into
Open
Conversation
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: - crossScalaVersions := Seq(2.12.20, 3.8.4) - set bytecode floors via -release (2.12 -> 11, Scala 3 -> 17) - sbt 2.x target 2.0.0-RC12 -> 2.0.0-RC15 - sbt 1.x target / build sbt 1.12.10 -> 1.12.11 - bump Scala 3 3.7.2 -> 3.8.4 CI: - release & build workflows: Java 8/11 -> 17 (sbt 2 needs 17+) - update checkout@v6 / setup-java@v5 - build step runs +test +scripted across both Scala axes
9b89573 to
0af8571
Compare
Member
|
thanks for the PR we will include it in the next stable release |
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-RC15, 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.