Skip to content

Add a Scala3Renderer#198

Merged
eed3si9n merged 2 commits intosbt:developfrom
rreckel:develop
Aug 6, 2023
Merged

Add a Scala3Renderer#198
eed3si9n merged 2 commits intosbt:developfrom
rreckel:develop

Conversation

@rreckel
Copy link
Copy Markdown
Contributor

@rreckel rreckel commented Aug 4, 2023

The toJson method does emit compilation warnings when compiled with scala3.
The import of Predef does not work neither.

This commit adds Scala3 Renderers to be used when compiling again scala3.
These are simple copy and paste implementations.....

If this pull request is accepted, it would be nice to change the default buildInfoRendererFactory to Scala3 implementations if the scalaVersion is >= 3 in BuilInfoPlugin.scala

Copy link
Copy Markdown
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

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

Thanks!

@eed3si9n eed3si9n merged commit d4b63f2 into sbt:develop Aug 6, 2023
@mrdziuban
Copy link
Copy Markdown

@eed3si9n is there any chance you could release a new version that includes these changes? Thanks in advance!

@eed3si9n
Copy link
Copy Markdown
Member

Wow it's been a while without a release. Thanks for the ping.

@eed3si9n
Copy link
Copy Markdown
Member

https://github.com/sbt/sbt-buildinfo/releases/tag/v0.12.0

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