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

Various fixes #31

Merged
merged 3 commits into from
Dec 12, 2022
Merged

Various fixes #31

merged 3 commits into from
Dec 12, 2022

Conversation

ckipp01
Copy link
Member

@ckipp01 ckipp01 commented Dec 12, 2022

There was a change I didn't catch in the previous pr due to how I was
testing. I wasn't being explicit about the version when running
bloopInstall so it was using the last published version. This fixes
that by using the version that is inside of the pom when you test.

The other issue, which the title is about, is that
mojo.getScalacArgs() can throw now since it attempts to get the scala
version set for the module. However, in Java modules there isn't one, so
this was blowing up. This fixes that by wrapping that call like we
earlier for other calls that can throw.

This also fixes some pom settings that were still pointing to the old
repo.

There was a change I didn't catch in the previous pr due to how I was
testing. I wasn't being explicit about the version when running
`bloopInstall` so it was using the last published version. This fixes
that by using the version that is inside of the pom when you test.

The other issue, which the title is about, is that
`mojo.getScalacArgs()` can throw now since it attempts to get the scala
version set for the module. However, in Java modules there isn't one, so
this was blowing up. This fixes that by wrapping that call like we
earlier for other calls that can throw.

This also fixes some pom settings that were still pointing to the old
repo.
@ckipp01 ckipp01 requested review from tgodzik and adpi2 December 12, 2022 16:52
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!

@ckipp01 ckipp01 merged commit 490651d into scalacenter:main Dec 12, 2022
@ckipp01 ckipp01 deleted the fixes branch December 12, 2022 17:40
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