hoodakaushal
hoodakaushal

Reputation: 1293

IntelliJ Idea opens gradle folder instead of the project

I'm trying to import a GitHub project, specifically, this one : timtiemens/secretshare using IntelliJ Idea.

The git import works fine, at which point the IDE builds the project using gradle, which works fine.

However, when I actually open the project, only the gradle directory in the project is opened, ie, .../secretshare/gradle. The other directories, like src, are just not there in the IDE, even though they're present in the project folder - I can see them with explorer.

Upvotes: 1

Views: 400

Answers (1)

Esha
Esha

Reputation: 151

Just Delete the idea files created by inteillj

Run gradlew idea

Open the project again and choose use gradle wrapper settings.

Upvotes: 1

Related Questions