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

refactor: improve reporting on Semanticdb from Mill for Java Modules #4816

Merged
merged 1 commit into from
Jan 5, 2023

Conversation

ckipp01
Copy link
Member

@ckipp01 ckipp01 commented Jan 5, 2023

This is a follow-up to the work that I've done in
#4295. At that time I only
applied the changes to Scala Targets since Semanticdb was only produced
there when using Mill as your build server. Now that com-lihaoyi/mill#2227
is merged Java Targets and mixed targets will now also produce
semanticdb. We now add the extra check for Mill and its version when we
check for semanticdb java support. This will ensure that users won't get
the error in the Doctor about lacking support.

CC @lefou

Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

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

LGTM!

This is a follow-up to the work that I've done in
scalameta#4295. At that time I only
applied the changes to Scala Targets since Semanticdb was only produced
there when using Mill as your build server. Now that com-lihaoyi/mill#2227
is merged Java Targets and mixed targets will now also produce
semanticdb. We now add the extra check for Mill and its version when we
check for semanticdb java support. This will ensure that users won't get
the error in the Doctor about lacking support.
@ckipp01 ckipp01 force-pushed the millJavaSemanticdb branch from 2e5bd0a to 503279c Compare January 5, 2023 19:31
@ckipp01 ckipp01 merged commit eb7dd8f into scalameta:main Jan 5, 2023
@ckipp01 ckipp01 deleted the millJavaSemanticdb branch January 5, 2023 20:25
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.

2 participants