Getting different results from Dependency Analyzer and module libraries

已回答

I'm trying to hunt for multiple versions of guava in my application. When I go to "Project Structure > Libraries" I see:

But when I go to to Dependency Analyzer I see 

What could be the reason for the difference?

 

This is on: 

IntelliJ IDEA 2022.1 (Ultimate Edition)
Build #IU-221.5080.210

0

Hello!

Have you tried to run "Reload" in gradle tool window? Is it possible to share sample project example?

0

Yeah, I did, same thing. Unfortunately, I can't share the project. Anything else I could try?

0

Is it reproducible with some new sample project? Also you may copy your project, remove code from it, so we could check it on our side without  confidential data.

0

It's a huge monolithic project so I can't remove code without a huge amount of effort.

0

Libraries shows dependencies from all modules. Dependency Analyzer resolves dependencies from selected module. So, it might cause differences.

0

请先登录再写评论。