Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 8b1258d

Browse files
authored
Described the method for importing into Eclipse and the annotation processing options (#13)
1 parent 09c00cd commit 8b1258d

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

docs/annotation-processing.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,14 @@ and the ``processorArgs`` property:
193193
}
194194
}
195195
196-
When you run ``gradle eclipse``, eclipse setting files are generated.
196+
Right-click on the project in Eclipse and select Gradle > Refresh Gradle Project.
197+
This will reflect the Gradle annotation processing options in Eclipse.
197198

198199
Maven
199200
~~~~~
200201

201-
See :ref:`build-with-eclipse`.
202+
Right-click on the project in Eclipse and select Maven > Update Project....
203+
This will reflect the Maven annotation processing options in Eclipse.
202204

203205
Setting options in IntelliJ IDEA
204206
================================

docs/build.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,16 @@ Build with Eclipse
116116
Gradle
117117
------
118118

119-
Generate eclipse setting files with Gradle, and then import your project into Eclipse.
120-
To generate the setting files, run ``gradle cleanEclipse eclipse``.
121-
122-
To simplify your build.script(.kts), we recommend that you use the `com.diffplug.eclipse.apt`_ plugin.
119+
Import your project as a Gradle project.
120+
To reflect Gradle settings in Eclipse, right-click on your project and select Gradle > Refresh Gradle Project.
123121

124122
See build.gradle.kts in the `getting-started`_ repository as an example.
125123

126124
Maven
127125
------
128126

129127
Import your project as a Maven project.
128+
To reflect Maven settings in Eclipse, you can right-click on your project then select Maven > Update Project...
130129

131130
.. note::
132131

docs/getting-started.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ Import project to your IDE
5656
Eclipse
5757
-------
5858

59-
Tested on Eclipse 4.23.0. Generate Eclipse project files using ``./gradlew eclipse``
60-
before importing the java-8 and java-17 projects into your workspace.
59+
Tested on Eclipse 4.23.0.
60+
Import the getting-started project as a Gradle project.
6161

6262
.. note::
6363

0 commit comments

Comments
 (0)