-
Notifications
You must be signed in to change notification settings - Fork 11
Developer Setup Guide
EpicSquid edited this page Mar 4, 2019
·
1 revision
To setup a development environment use the following steps (1.12.2)
- Checkout from Github all necessary projects into a single folder. E.g. for Roots, you need to checkout Roots, Mystical Lib and Mystical World.
- Copy the "gradle" folder, "gradlew" and "gradlew.bat" files from MysticalLib and paste them into the folder that all the projects are in.
- Create a new file called "settings.gradle" in the same folder
- Edit "settings.gradle" to have the following (the include line is an example for a setup with just Roots):
include ':MysticalLib', ':MysticalWorld', ':Roots'
rootProject.name = 'Mystic Mods'
rootProject.children.each { project ->
String fileBaseName = project.name.toLowerCase()
project.buildFileName = "build.gradle"
}
- Add any projects you have checked out from Github to the "include" line, following the pattern above
- In whatever IDE you use, set the number of indent spaces to "2"