Setting up a development environment

This guide is intended for people wishing to help with the creation of the mod. It assumes you know the basics of git and java.

If you are not planning to make changes to Reborn Core just skip this section

  1. Open InteliJ IDEA and Create a new project from Source control development:step1.png
  2. Refresh Gradle project development:step2.png
  3. Generate sources for dependencies development:step3.png
  4. Open the Gradle Settings dialog from the Gradle tab. Change the Build and run using and Run tests using fields to 'IntelliJ IDEA'.
  5. Go to File → Project Structure → Project and set Project compiler output to $PROJECT_DIR$/out

Steps are same as for RC.

  1. Open InteliJ IDEA and Create a new project from Source control development:step2-1.png
  2. Refresh Gradle project
  3. Generate sources for dependencies
  4. Open the Gradle Settings dialog from the Gradle tab. Change the Build and run using and Run tests using fields to 'IntelliJ IDEA'.
  5. Go to File → Project Structure → Project and set Project compiler output to $PROJECT_DIR$/out

Skip this section if you are not going to make changes to RC

  1. Go to File → Project Structure → Modules then click on + button and select Import Module development:step3-1.png
  2. Select RebornCore folder and then Import module from external model and choose Gradle
  3. Close Project Structure and refresh Gradle project
  4. Reopen File → Project Structure → Modules then select main module of TR and go to Dependencies tab
  5. Remove RebornCore dependency from Gradle and add RebornCore dependency from module development:step3-2.png
  6. You will have to repeat step above if you will refresh TR Gradle project.
  • Last modified: 2020/06/28 23:56
  • (external edit)