Its possible to delete a dependency thru the GUI, via Project Structure -> Dependencies. But make sure that under Modules sidebar, you have selected app or your module, and NOT "All Modules". Then the the minus sign will also be visible, and you can use that for removal.