Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Apply changes from https://github.com/apache/beam/pull/6435

...

Create a working Gradle module

(as of IntelliJ 2018.1.6)

  1. Create an empty IntelliJ project outside of the Beam source tree.
  2. Under Project Structure > Project, select a Project SDK.
  3. Under Project Structure > Modules, click the + sign to add a module and select “Import Module”.
    1. Select the directory containing the Beam source tree.
    2. Tick the “Import module from external model” button and select Gradle from the list.
    3. Tick the following boxes.
      • Create separate module per source set
      • Store generated project files externally
      • Use default gradle wrapper
  4. Delegate build actions to Gradle by going to Preferences/Settings > Build, Execution, Deployment > Build Tools > Gradle > Runner and checking “Delegate IDE build/run actions to gradle”.

...