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
  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

Steps are same as for RC.

  1. Open InteliJ IDEA and Create a new project from Source control
  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
  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
  6. You will have to repeat step above if you will refresh TR Gradle project.
  • Last modified: 2020/06/28 23:56
  • by 127.0.0.1