...
A recent version of IntelliJ. These steps have been validated on IntelliJ 2019.1 with Beam 2.14-SNAPSHOT
JDK 1.8 installed and configured in IntelliJ
A local git clone of the apache/beam repository in your home directory ("~/beam")
To set up your IntelliJ project:
- Launch the New Project wizard by
...
- closing your project File |
...
- Close Project.
...
In the New Project wizard, select Empty Project and click Next.
- Then click Open from the splash page to open a new project (Depending on what version of IntelliJ you may need to find an option to "Import project" instead)
- Select the settings.gradle.kts in the root of your beam git repo
...
This will create the initial project and bring up the Project Structure settings.
In the Project pane, set the Project SDK to "1.8", and select Apply.
In the Modules pane, click the + and select Import Module. Select your beam repository ("~/beam") and select OK.
In the Import Module wizard, select Import module from external model, then select Gradle. Then select Next.
On the next screen, ensure that Create separate module per source set and Use default gradle wrapper (recommended) are selected, and keep the rest of the default values. Then select Finish.
In the Problems pane, ensure there are no issues listed, then select Apply and OK.click Finish
This will close the wizard and cause IntelliJ to begin syncing project structure in the background. Continue configuring the IDE while the project syncs:
...