Skip to content

update sbt 1.x to 1.12.10, make project compile against 2.0.0-RC12#86

Merged
wing328 merged 1 commit into
OpenAPITools:masterfrom
reynaldjoabet:update-sbt
Jun 8, 2026
Merged

update sbt 1.x to 1.12.10, make project compile against 2.0.0-RC12#86
wing328 merged 1 commit into
OpenAPITools:masterfrom
reynaldjoabet:update-sbt

Conversation

@reynaldjoabet

@reynaldjoabet reynaldjoabet commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

update sbt 1.x to 1.12.10, make project compile against 2.0.0-RC12:

  • update build sbt: 1.11.4 -> 1.12.10
  • update sbt 1.x cross-build version: 1.5.8 -> 1.12.10
  • update sbt 2.x cross-build version: 2.0.0-RC3 -> 2.0.0-RC12
  • migrate scoped keys to slash syntax (x in y -> y / x)
  • replace deprecated scala.collection.JavaConverters with scala.jdk.CollectionConverters
  • annotate openApiGenerate as @transient so sbt 2.x skips caching its Seq[File]
    output (no-op under sbt 1.x)
  • reformat touched files (no behavioral change)

Summary by cubic

Upgrade the build to sbt 1.12.10 and enable cross-build on sbt 2.0.0-RC12. Migrate to slash syntax and remove deprecated APIs to keep behavior the same on 1.x and 2.x.

  • Dependencies

    • Update root sbt.version: 1.11.4 → 1.12.10.
    • Update cross-build: pluginCrossBuild / sbtVersion 1.5.8 → 1.12.10 (Scala 2.12), 2.0.0-RC3 → 2.0.0-RC12 (others).
  • Refactors

    • Migrate scoped keys to task / key (e.g., openApiGenerators / aggregate, openApiGenerate / version).
    • Replace scala.collection.JavaConverters with scala.jdk.CollectionConverters.
    • Annotate openApiGenerate with @transient to skip task output caching on sbt 2.x.

Written for commit d3d0e13. Summary will update on new commits. Review in cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 9 files

@wing328

wing328 commented May 22, 2026

Copy link
Copy Markdown
Member

thank you. will include it in the next stable release.

@wing328 wing328 merged commit 1530aef into OpenAPITools:master Jun 8, 2026
3 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