The code for iRaiders 2713's FRC Robot
Gradle will automatically create IDE project files when necessary.
- Go to
File > New > Project from Version Control > Git
- Type the repository URL
- HTTPS: https://github.com/iraiders/Robot2017.git
- SSH: git@github.com:iraiders/Robot2017.git
- Click Clone
- Use the pop-up in the bottom-right corner (or the Event Log if you do not catch it) to import the project using Gradle.
- Clone the repository using the method of your choice.
- Open the command line and point it to the root directory of the repository.
- Run the command
gradlew eclipse
. - Use the Eclipse project wizard to import the repository as an 'Existing Project'.
When dependencies are updated, the IDE will not automatically refresh them. Instead, you must sync them yourself.
- Go to
View > Tool Windows > Gradle
- Click the Sync button (left of the + sign).
- Wait for dependencies to update.
- Close Eclipse. Seriously, you have to.
- Rerun
gradlew eclipse
. - Reopen Eclipse.
Passing the arguments build deploy
to gradle will build the project and search
for the RoboRIO on the network to deploy. Use either the command line (gradlew build deploy
) or your IDE's run configurations to do so.