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

Feature request: Detect unused modules #4491

Open
NikolayMetchev opened this issue Oct 24, 2024 · 1 comment
Open

Feature request: Detect unused modules #4491

NikolayMetchev opened this issue Oct 24, 2024 · 1 comment

Comments

@NikolayMetchev
Copy link

NikolayMetchev commented Oct 24, 2024

I have been trying to find a way to check that there are no unused modules in any of the Components I have defined. Ideally the check would be transitive and find any unused modules in the whole hierarchy of modules.

I came across DaggerKotlinIssueDetector but I couldn't figure out how that class is supposed to be used to lint Dagger projects or if it would actually detect the problem of unused modules.

Removing unused modules should greatly help reducing bloat and build times.

Any help will be much appreciated.

@NikolayMetchev
Copy link
Author

I found a solution: https://github.com/SchwarzIT/dagger-lightsaber

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

1 participant