Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
|
...
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
, andC:\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. |
- Select File > Import...
- Select the "Gradle > Existing Gradle Project" import wizard
- Clear "Show the welcome page the next time the wizard appears"
- Set the "Project root directory"
- Select "Override workspace settings"
- 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
, andC:\gradle
) - Set "Show Console View"
- Set "Show Executions View"
- Select Set "Gradle distribution" to "Local installation directory" and set it point to your local Gradle installation
- (passive) Check that a tree populates on the "Import Preview" page
...