-
Notifications
You must be signed in to change notification settings - Fork 77
Getting Started with Eclipse and Gradle
Joshua Slack edited this page Sep 20, 2017
·
2 revisions
- You will need to have JDK version 7.0 or higher installed. You can get this here. Both OpenJDK and Oracle JDK are supported.
- After installing it, make sure that the JAVA_HOME environment variable is set to the JDK installation folder.
- If you do not have Eclipse yet, head over to http://www.eclipse.org and get the latest stable version of the “Eclipse IDE for Java Developers”.
- Make sure you have Gradle integration installed. You can do this through the marketplace by going to "Help->Eclipse Marketplace..." and searching for gradle. Install "Buildship Gradle Integration 2.0"
- Clone Ardor3D from github using the commandline or your favorite git client (such as SourceTree.) Make sure you check it out into a different directory than your intended Eclipse workspace.
- Open Eclipse and choose your workspace - again, it should not the same directory (or parent of) where you cloned Ardor3D.
- In Eclipse, go to File->import->Gradle->Existing Gradle Project, press next.
- Press "Next" again to skip the wizard welcome page, if it shows.
- In "Project root directory", specify the directory where you just cloned Ardor3D. Press next.
- Press "Next" again to accept default import options.
- Press "Finish" to import.
That's it! Now head over to Your First Steps and run some examples.