-
Notifications
You must be signed in to change notification settings - Fork 2
IntelliJ Setup TestBench code
Garnett Strack edited this page Jan 25, 2018
·
7 revisions
Note: this tutorial does not contain info on how to download from GitHub.
- Set up GitHub and get the "2018Season".
- Open terminal.
- Go into TestBench Directory.
- Once in the directory, type "./gradlew idea".
- Double check that IntelliJ is closed, then open it. If it was already open, restart the program.
- Import the TestBench folder into IntelliJ by clicking on 'Import Project' from the main menu of IntelliJ. Most of the steps can remain as the default. On the SDK step, if JDK is not automatically found, ask somebody for help.
- After Importing, there will be an error in the bottom right corner. Click on "Import Gradle project."
- Check "Use auto-import" and "Use Gradle wrapper task configuration".
- Click OK.
- Open the terminal in IntelliJ (button should be near bottom left of screen) and type "./gradlew build". This compiles the code (do not change directories. If you do change directories, go back to TestBench.)
- If the build was successful, you have successfully installed IntelliJ and imported the TestBench project!
(Deploying code still needs its own wiki page)