Skip to content

Remove the Gradle eclipse plugin - #2269

Open
wmdietl wants to merge 2 commits into
masterfrom
eclipse-task-deprecation
Open

wmdietl wants to merge 2 commits into
masterfrom
eclipse-task-deprecation

Conversation

@wmdietl

@wmdietl wmdietl commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Gradle deprecates the tasks of the eclipse plugin that generate IDE files (eclipse, eclipseProject, eclipseClasspath, eclipseJdt, and the clean* tasks) since Gradle 9.5, to be removed in Gradle 10 (upgrade guide). IDEs import Gradle projects directly.

This PR removes the plugin:

  • build.gradle: the eclipse plugin and the eclipse.classpath customization.
  • checker/bin-devel/test-misc.sh: the cleanEclipse eclipse step.
  • docs/developer/developer-manual.html: the instructions to run ./gradlew eclipse; IDEs import the Gradle projects.

The removed eclipse.classpath hook also dropped the bare src/main source folder of checker-qual (#2130) and redirected output to build/. I could not test a VS Code or Eclipse import. If the nested source folder error returns, the fix is #2130, not restoring the plugin.

The libs lookup warnings are fixed in #2268. The Configuration.setVisible warnings come from the Modernizer and JMH plugins.

🤖 Generated with Claude Code

Gradle 9.8 deprecates the tasks that generate Eclipse files (eclipse,
eclipseProject, cleanEclipse, ...).  test-misc.sh runs them with
--warning-mode=all, which prints one deprecation warning per task.
The tasks are still the documented setup for VS Code and Eclipse, so keep
running them, but without the warnings, and note the deprecation in the
Developer Manual.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 14, 2026 03:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Gradle deprecates the tasks that generate IDE files, since IDEs import
Gradle projects directly.  Remove the plugin, its eclipse.classpath
customization, the CI step that ran the tasks, and the Developer Manual
instructions to run them.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@wmdietl wmdietl changed the title Do not show the deprecation warnings of the Gradle eclipse tasks in CI Remove the Gradle eclipse plugin Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants