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

Please add -v option for verbose output with usage (which class and where it was used) #24

Open
plokhotnyuk opened this issue Jan 7, 2019 · 1 comment

Comments

@plokhotnyuk
Copy link

plokhotnyuk commented Jan 7, 2019

Some time it is not clear were in your project unwanted usage is happening and clear pointing to source code line with class name that is used would helped a lot.

@cb372
Copy link
Owner

cb372 commented Jan 7, 2019

Nice idea!

The plugin relies on zinc to decide which libraries your project depends on for compilation. It looks like zinc provides a useful function that we might be able to use for this:

  /** The library dependencies for the source file `src`. */
  def libraryDeps(src: File): Set[File]

So we could iterate through the project's source files and call that function for each one.

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

No branches or pull requests

2 participants