Team 114's 2018 FRC code.
Use this guide, it's more comprehensive. Or refer to this shorter set of instructions, up to you.
In your shell, run git clone https://github.com/Eaglestrike/Ocelot/
. cd
into the directory.
In your shell, run ./gradlew
. It will automatically install any missing dependencies.
Run ./gradlew build
to make sure everything compiles fine. If all is well, you're done!
Go ahead to the download page on IntelliJ's website and select the Community Edition. If you apply for their education package, you can download the Ultimate edition (but you won't really ever use any of the extra features).
In the project directory, run ./gradlew idea
. It will generate several files...
Go ahead and open Ocelot.ipr
with IntelliJ IDEA. This will open a blank screen, and hopefully
a popup in the bottom right-hand corner will appear asking to link your Gradle project.
On the popup, Import Gradle Project
. Select only Use auto-import
and
Use gradle wrapper task configuration
. Press OK.
In the toolbar, click View
->Tool Windows
->Gradle
. This will open a Gradle tool window on the
right-hand side of the screen. This is where you can run tasks, etc.
Find and run the build
task. If it runs successfully, everything is set up correctly!
Congratulations.
We attempt to follow the Google Java Style guide, except that we follow the Intellij defaults in most cases where they disagree. We do not support any other editor, although programmers are permitted to use one if they configure it to follow the same conventions.