How can I delete Gradle modules from a Projects


How can I delete Gradle modules from this list? They should not be here are his is a Maven project.

As a side note: Auto import, auto update, auto detect etc pp — they are more and annoyance as a help.


You can remove the linked Gradle project from the Gradle tool window. Please see Unlink a linked Gradle project in the related doc reference:


Andrey Dernov The Projects are not in that list:

So there is no way to delete the projects from the list and disabling Gradle support when working with Maven projects is the only way out of the conundrum.


I found the setting inside the gradle.xml file. Reducing the Gradle.xml did to the trick:

<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings"></component>

Thanks fo the information. Yes indeed the gradle.xml file has the information about linked projects, but this should not normally happen. Could the IDE project configuration files have been modified externally?


Andrey Dernov It's a very old workspace which went trough all the trials and tribulations of an old workspace. Which probably includes both migrations external modifications.


Please sign in to leave a comment.