Search code examples
javaintellij-ideamoduledirectoryintellij-14

Intellij: Module vs Directory


I have a Java Gradle project that I run within Intellij. Within it I created a new module however it is not being marked as a module, it is marked as a directory. See the Intellij Icons.

As a result I cannot create a run configuration in order to compile it. How can I solve this?


Solution

  • If you want to run it, try a new project instead. File -> New -> New project from source Then select your directory.