-
Notifications
You must be signed in to change notification settings - Fork 36
Working from source
To get started you need the following tools
- JDK 8
- One of the following IDEs: IntelliJ IDEA, Android Studio, Eclipse or NetBeans
- Kotlin plugin for your IDE
- Gradle
- Git
If you just want to experiment with the sources all you have to do is clone the repository:
git clone https://github.com/mbrlabs/Mundus.git
If you want to contribute to the project you have to follow this this guide.
Gradle is used as build tool. You should always use the Gradle wrapper, which is included in the project.
To build and run the editor execute this command from source directory:
./gradlew editor:run
If you want to build en executable jar file, do this:
./gradlew editor:distEditor
You will find the jar in editor/build/libs/
To build the libGDX runtime do this:
./gradlew editor:distRuntime
You will find the jar in libgdx-runtime/build/libs
The recommended IDE is IntelliJ IDEA (community edition is sufficient) or Android Studio. You also need the Gradle and Kotlin plugins installed. To import the project go to File > New > Import Project and select the folder, containing Mundus.
Change the view to 'Project'. You should now see 3 modules imported (commons, editor & libdx-runtime) With the project imported you can set your default gradle task to editor:run to build and run the project every time you hit the green run button.
These IDEs sould work as well as long as they have Kotlin & Gradle plugins.
But seriously, you should use IDEA.