Skip to content

support for sbt 2.x - #624

Merged
lbialy merged 4 commits into
mainfrom
feature/support-sbt-2.x
Aug 24, 2026
Merged

lbialy merged 4 commits into
mainfrom
feature/support-sbt-2.x

Conversation

@lbialy

@lbialy lbialy commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@lbialy
lbialy requested a balanced review from Copilot August 22, 2026 15:13
@lbialy
lbialy requested a review from prolativ as a code owner August 22, 2026 15:13

Copilot AI 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.

Pull request overview

Adds sbt 2.x support while retaining sbt 1.x compatibility through version-specific meta-build plugins.

Changes:

  • Ships separate Scala 2.12 and Scala 3 sbt plugins.
  • Adds migration, packaging, unit, and integration-test support.
  • Updates CI and documentation for sbt 2.0.6.

Reviewed changes

Copilot reviewed 14 out of 17 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
website/docs/getting_started.md Documents supported sbt versions.
language-plugin/resources/sbt2/BesomPlugin.scala Adds the sbt 2.x plugin.
language-plugin/resources/sbt1/BesomPlugin.scala Documents the sbt 1.x variant.
language-plugin/pulumi-language-scala/executors/executor.go Resolves variant-specific plugins.
language-plugin/pulumi-language-scala/executors/executor_sbt.go Installs both variants and migrates legacy projects.
language-plugin/pulumi-language-scala/executors/executor_sbt_test.go Tests sbt plugin setup.
Justfile Packages nested resource directories.
integration-tests/resources/executors/sbt2/src/main/scala/Main.scala Adds the sbt 2 test application.
integration-tests/resources/executors/sbt2/Pulumi.yaml Configures the sbt 2 test project.
integration-tests/resources/executors/sbt2/.gitignore Ignores generated meta-build files.
integration-tests/resources/executors/sbt1/src/main/scala/Main.scala Adds the sbt 1 test application.
integration-tests/resources/executors/sbt1/Pulumi.yaml Identifies the sbt 1 test project.
integration-tests/resources/executors/sbt1/.gitignore Ignores generated meta-build files.
integration-tests/LanguagePluginTest.test.scala Exercises both supported sbt lines.
integration-tests/integration.scala Supports nested generated project files.
.gitignore Ignores generated sbt build files.
.github/workflows/ci.yml Installs sbt 2.0.6 in CI.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread language-plugin/resources/sbt2/BesomPlugin.scala Outdated
Comment thread language-plugin/pulumi-language-scala/executors/executor_sbt_test.go Outdated
Comment thread language-plugin/resources/sbt2/BesomPlugin.scala Outdated
@lbialy
lbialy merged commit 79bed02 into main Aug 24, 2026
7 checks passed
@lbialy
lbialy deleted the feature/support-sbt-2.x branch August 24, 2026 12:44
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.

3 participants