Gradle refresh in a project that has no gradle

I have an IntelliJ project with a few modules. However, they all use maven. Not one of them has gradle. However, whenever I run maven to build outside IDEA and I go back into IDEA, it always refreshes my gradle project. If I look in JetGradle, it has all my modules in my project, plus one more that is not in my project at all. That one does have a gradle build. Why it is showing in my project, when it isn't actually there, I have no idea, and there is no way to remove it from JetGradle. It is very frustrating. At least in the maven built in plugin I can remove pom files.

Thanks

Mark

3 comments
Comment actions Permalink

OK. I edited a few IDEA .xml config files to remove Gradle.

workspace.xml
gradle.xml

and I think misc.xml

So that phantom "project/module" in my project is now gone from any config files. I refreshed the project in IDEA, and select JetGradle and nothing shows in there anymore. Problem solved.

But it would be nice if I didn't have to muck with the actual IDE project xml config files.

Really, is I should get Intellij 12, still using 11. :D

Thanks

Mark

0
Comment actions Permalink

Can you provide more details on how did you get that project configuration?

Did you just pferform import from maven and that phantom gradle project appeared? Something else? Are you able to reproduce that?

Denis

0
Comment actions Permalink

Unfortunately, it is one of those, I have no idea how it got in there. I might have tried to add that other module/project into my existing project, then realize that was a bad Idea and delete the module in the IDE, but it didn't fully remove it. Personally, I don't know why I would add that other project/module because while it is a dependency of my project, it isn't my project someone elses. So I would keep them separated.

Thanks

Mark

0

Please sign in to leave a comment.