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

Pass BSP JvmBuildTarget stuff to ScalaBuildTarget #3681

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

alexarchambault
Copy link
Collaborator

This adds the JVM we use in the Scala details in BSP build targets. I don't think Metals uses that for now, and I don't know about IntelliJ. But they might in the future.

@alexarchambault
Copy link
Collaborator Author

Includes #3608 for now

Copy link
Member

@lefou lefou left a comment

Choose a reason for hiding this comment

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

Nice catch! The last commit 2f30bcd looks good to me. Can you isolate it from the rest?

@alexarchambault
Copy link
Collaborator Author

alexarchambault commented Oct 7, 2024

Nice catch! The last commit 2f30bcd looks good to me. Can you isolate it from the rest?

#3608 should be merged soon it seems, I'll just rebase once it's merged I think (that'll preserve the changes in the snapshot data, which are nice IMO, and also avoid conflicts with #3608)

@lefou lefou marked this pull request as draft October 7, 2024 15:29
Just in case, I'm not sure Metals uses that. Don't know about IntelliJ.
@alexarchambault alexarchambault marked this pull request as ready for review October 8, 2024 10:57
Copy link
Member

@lihaoyi lihaoyi left a comment

Choose a reason for hiding this comment

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

One nit but otherwise looks good to me

@@ -1056,14 +1056,15 @@ trait JavaModule
canRun = true
)

@internal
def jvmBuildTarget: JvmBuildTarget =
Copy link
Member

Choose a reason for hiding this comment

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

Should we call this bspJvmBuildTarget, just so it's clear it's related to the other bsp* members

@lihaoyi lihaoyi merged commit 5db7ed3 into com-lihaoyi:main Oct 9, 2024
24 checks passed
@alexarchambault alexarchambault deleted the scala-jvm-build-target branch October 9, 2024 10:20
@lefou lefou added this to the 0.12.0 milestone Oct 10, 2024
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