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

Fix Scala Native for versions > 0.4.2 #1670

Merged
merged 1 commit into from
Jan 12, 2022
Merged

Fix Scala Native for versions > 0.4.2 #1670

merged 1 commit into from
Jan 12, 2022

Conversation

lolgab
Copy link
Member

@lolgab lolgab commented Jan 12, 2022

Workers in Mill work (pun not intended) by compiling to a base version and then substitute the classloader with the dependencies from the project they are compiling.
Before this PR, the Scala Native worker dependency was a uberjar created with assembly so it was depending on the Scala Native version defined in Mill's build.sc.
Now worker contains only the Worker classes and all the other dependencies are injected by Mill using the scalaNativeVersion from the ScalaNativeModule it is compiling.

@lolgab lolgab requested a review from lefou January 12, 2022 15:27
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.

LGTM, Thanks!

@lefou lefou merged commit 4a6d73b into main Jan 12, 2022
@lefou lefou deleted the fix-scala-native-0.4.3+ branch January 12, 2022 21:08
@lefou lefou added this to the after 0.10.0-M5 milestone Jan 12, 2022
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