Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Scala3Renderer #198

Merged
merged 2 commits into from
Aug 6, 2023
Merged

Add a Scala3Renderer #198

merged 2 commits into from
Aug 6, 2023

Conversation

rreckel
Copy link
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
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

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

@eed3si9n
Copy link
Member

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

@eed3si9n
Copy link
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