Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
bgColor#f9faff
borderStylesolid
titleContents

Table of Contents

...

Configuration

Application memory

Eclipse will perform terribly unless you give it a few GB of memory (RAM).

In the installation folder, find eclipse.ini. Possible locations include /usr/lib/eclipse, /opt/eclipse, C:\Eclipse, and C:\ProgramData\Eclipse.

Ensure is contains the following JVM options:

Code Block
-Xms512m
-Xmx2g

...

In Window >Preferences > Gradle:

  • Set "Gradle distribution" to "Local installation directory" and point to your local Gradle installation
    (Common locations are /usr/share/java/gradle, /opt/gradle, and C:\gradle)See below

Java settings

In Window > Preferences > Java:

...

Importing Gradle Projects

Warning

Default Gradle settings in Eclipse are currently broken so you must "Override workspace settings" every time.

  1. Select File > Import...
  2. Select the "Gradle > Existing Gradle Project" import wizard
  3. Clear "Show the welcome page the next time the wizard appears"
  4. Set the "Project root directory"
  5. Select "Override workspace settings"
    1. Select Set "Gradle distribution" to "Local installation directory" and set it point to your local Gradle installation
      (Common locations are /usr/share/java/gradle, /opt/gradle, and C:\gradle)
    2. Set "Show Console View"
    3. Set "Show Executions View"
  6. (passive) Check that a tree populates on the "Import Preview" page

...