-
Notifications
You must be signed in to change notification settings - Fork 53
Getting Started with Moppy Development
If you're planning to customize the code or contribute additional features, start by forking the GitHub repository and cloning it to your machine. If you just want to step through the code or do some debugging you can clone the main repo instead.
Moppy's Java code uses Gradle to manage builds and dependencies so you'll need a development environment that supports Gradle, and a connection to the Internet to download dependencies from Maven.
You'll need to install the "Gradle Support" plugin first. Then you should be able to open the MoppyLib and MoppyControlGUI folders as NetBeans projects.
Sometimes NetBeans has some weird Gradle issues that prevent the projects from building correctly, but restarting NetBeans seems to resolve these for me.
You'll need to install the "Buildship Gradle Integration" plugin first. Then you should be able to go to File > Import > Gradle > Gradle Project
and import MoppyLib and MoppyControlGUI.
The Arduino IDE is suitable for minor configuration adjustments and uploading the code, but starts to do weird things if you try to edit too much of the code. I've personally been trying out Sloeber as it supports uploading to the Arduino with a minimum of fuss.