8000 Cleanup deprecated by lihaoyi · Pull Request #4499 · com-lihaoyi/mill · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cleanup deprecated #4499

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

Merged
merged 23 commits into from
Feb 7, 2025
Merged

Cleanup deprecated #4499

merged 23 commits into from
Feb 7, 2025

Conversation

lihaoyi
Copy link
Member
@lihaoyi lihaoyi commented Feb 7, 2025

No description provided.

@lihaoyi lihaoyi changed the title Cleanup deprecated in main/ folder Cleanup deprecated in main/ and scalalib/ folders Feb 7, 2025
@lihaoyi lihaoyi force-pushed the cleanup-deprecated branch from d816400 to cd005a5 Compare February 7, 2025 04:44
@lihaoyi lihaoyi force-pushed the cleanup-deprecated branch from a2f3935 to 0b3cb3c Compare February 7, 2025 05:10
@lihaoyi lihaoyi force-pushed the cleanup-deprecated branch from 62e6e70 to 470a307 Compare February 7, 2025 05:42
@lihaoyi lihaoyi changed the title Cleanup deprecated in main/ and scalalib/ folders Cleanup deprecated Feb 7, 2025
@lihaoyi lihaoyi force-pushed the cleanup-deprecated branch from 95cd810 to 084c44f Compare February 7, 2025 07:15
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.

Looks good to me.

@lihaoyi lihaoyi merged commit 4547b66 into com-lihaoyi:main Feb 7, 2025
28 of 31 checks passed
@lefou lefou added this to the 0.13.0 milestone Feb 7, 2025
lihaoyi pushed a commit that referenced this pull request Feb 18, 2025
This fixes an issue with GenIdea stuff that's been around since
#4499 (that uncommented
suggested code from #4145 to address some deprecations).

IIUC, in `RootModule#bindDependency`, Mill excludes all of its
dependencies, so that these are not pulled by plugins. The PR here
excludes not only Mill dependencies, but also the Mill modules
themselves (anything that the `dist.dist0` module depends on, itself
included).

Also, GenIdea tries to pull the class path of Mill itself, to pass it to
IntelliJ. This class path is now pulled via
`com.lihaoyi:mill-dist-dist0`, that should pull the whole class path of
Mill.

Fixes #4532

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
alexarchambault added a commit to alexarchambault/mill that referenced this pull request Feb 18, 2025
This fixes an issue with GenIdea stuff that's been around since
com-lihaoyi#4499 (that uncommented
suggested code from com-lihaoyi#4145 to address some deprecations).

IIUC, in `RootModule#bindDependency`, Mill excludes all of its
dependencies, so that these are not pulled by plugins. The PR here
excludes not only Mill dependencies, but also the Mill modules
themselves (anything that the `dist.dist0` module depends on, itself
included).

Also, GenIdea tries to pull the class path of Mill itself, to pass it to
IntelliJ. This class path is now pulled via
`com.lihaoyi:mill-dist-dist0`, that should pull the whole class path of
Mill.

Fixes com-lihaoyi#4532

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

 Conflicts:
	ci/mill-bootstrap.patch
	main/package.mill
	runner/src/mill/runner/MillBuildRootModule.scala
	scalalib/src/mill/scalalib/Lib.scala
lihaoyi added a commit that referenced this pull request Mar 11, 2025
Fixes #3979

Most of it I just folded into `Jvm.scala` unchanged, since that's
already where it was being called from.
#4499 already removed all the
verbose bincompat forwarders so the remaining code is actually pretty
fine

A few helper classes I broke out into separate files
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
0