Importing Projects to Eclipse - MegaMek/megamek GitHub Wiki

Starting in a new empty project, select Window Menu > Show View > Other...

From the dialog select Git > Git Repositories

This gives opens the view on the bottom left. This is what it looks like in a new workspace. Pick "Clone a Git Repository".

Click Next. Make sure the master branch at least is selected and click Next again. Pick a local folder to clone the repo into. This has to be either a directory that does not exist yet or an empty one. So it can't be your project directory, since Eclipse has put files there already.

When the download is finished you should be able to Select File > Import... and import it as an existing Gradle project.

Just pick the location where you cloned the repo, then click Next until you get to Finish.

When it's imported it should look somewhat like this.