Remove Dependency
Remove dependency in the Dependencies tool window.
Manage your dependencies inside IntelliJ IDEA. Remove unused dependencies with the click of a button! Open the Dependencies tool window to find the dependency you're looking for. Select the dependency you want to remove, click the three dots on the top right of the Dependency details pane, and click Remove. To use this feature, make sure the Package Search plugin is enabled.