I am working on a project with Intellij and for some reason we imported too many libraries. now I need to remove all the unnecessary libraries. is there a way to remove them without removing the actually used libraries?
Asked
Active
Viewed 5,181 times
6
-
Are you using something like Maven or Gradle to manage this? – Makoto Sep 16 '18 at 17:35
-
I am using maven – A.khaled Sep 16 '18 at 17:35
-
Delete the dependencies which you don't believe are necessary until your application doesn't compile? – Makoto Sep 16 '18 at 17:36
-
the problem is that I don't know which is necessary and which is not. I was looking for a way to let me know that. and also the problem is not with the dependencies, the problem is with the external jars I guess – A.khaled Sep 16 '18 at 17:38
-
Why do you have external JARs loaded into your project if you're relying on Maven to resolve your dependencies? – Makoto Sep 16 '18 at 17:39
-
some jars wasn't resolved as maven dependencies so i had to add them manually. – A.khaled Sep 16 '18 at 17:47
-
@A.khaled https://plugins.jetbrains.com/plugin/7222-jonnyzzz-dependencies – CrazyCoder Sep 16 '18 at 18:17