How can I delete Gradle modules from a Projects

Answered

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.

1
5 comments

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

0

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.

0

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>
</project>
2

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?

1

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.

0

Please sign in to leave a comment.