THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The documentation below needs to be rechecked and reorganized. This is a work-in-progress. Jira server ASF JIRA serverId 5aa69414-a9e9-3523-82ec-879b028fb15b key BEAM-5764
Create a working Gradle module
(as of IntelliJ 2018.1.6)
- Create an empty IntelliJ project outside of the Beam source tree.
- Under File > Project Structure > Project, select a Project SDK.
- Under File > Project Structure > Modules, click the + sign to add a module and select “Import Module”.
- Select the directory containing the Beam source tree.
- Tick the “Import module from external model” button and select Gradle from the list.
- Tick the following boxes.
- Create separate module per source set
- Use default gradle wrapper
- Delegate build actions to Gradle by going to FIle > Settings/Preferences > Build, Execution, Deployment > Build Tools > Gradle > Runner and checking “Delegate IDE build/run actions to gradle”.
This should result in a working Gradle project. Build the project by executing the “build” task in the root Gradle module.
Checkstyle
IntelliJ supports checkstyle within the IDE using the Checkstyle-IDEA plugin.
...