Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version=1.10.11

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2: This pin is only in the sample. The generator (ScalaAkkaHttpServerCodegen) never emits project/build.properties, so generated pekko server projects still resolve sbt to v2. Add new SupportingFile("project/build.properties.mustache", "project", "build.properties") with the pinned version in the codegen, and template it, so regeneration reproduces this file.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At samples/server/petstore/scala-pekko-http-server/project/build.properties, line 1:

<comment>This pin is only in the sample. The generator (`ScalaAkkaHttpServerCodegen`) never emits `project/build.properties`, so generated pekko server projects still resolve sbt to v2. Add `new SupportingFile("project/build.properties.mustache", "project", "build.properties")` with the pinned version in the codegen, and template it, so regeneration reproduces this file.</comment>

<file context>
@@ -0,0 +1 @@
+sbt.version=1.10.11
</file context>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The pin is intentionally only for the sample, so yes generated samples may resolve to the higher version (and thus not work with JDK 11)

Loading