Skip to content

Commit

Permalink
Remove Groovy from "Eclipse/STS Project Import Guide"
Browse files Browse the repository at this point in the history
Groovy support is no longer required in the IDE due to gh-27945.
  • Loading branch information
sbrannen committed Jan 21, 2022
1 parent 9af2c9d commit a323c39
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions import-into-eclipse.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This document will guide you through the process of importing the Spring Framework
projects into Eclipse or the Spring Tool Suite (_STS_). It is recommended that you
have a recent version of Eclipse. As a bare minimum you will need Eclipse with full Java
17 support, Eclipse Buildship, and the Groovy plugin.
17 support and Eclipse Buildship.

The following instructions have been tested against [STS](https://spring.io/tools) 4.12.0
([download](https://github.com/spring-projects/sts4/wiki/Previous-Versions#spring-tools-4120-changelog))
Expand All @@ -20,10 +20,6 @@ from the Eclipse Marketplace.

_When instructed to execute `./gradlew` from the command line, be sure to execute it within your locally cloned `spring-framework` working directory._

1. Install the [Groovy Development Tools](https://marketplace.eclipse.org/content/groovy-development-tools).
- **NOTE**: As of October 12, 2021, the Groovy Development Tools do not work in Eclipse 2021-09 (4.21). See [Groovy Eclipse #1303](https://github.com/groovy/groovy-eclipse/issues/1303) for details.
1. Switch to Groovy 3.0 in Eclipse (Preferences → Groovy → Compiler → Switch to 3.0...).
- If you encounter build errors stating something similar to _"Groovy: compiler mismatch: project level is 2.5, workspace level is 3.0"_, change the Groovy compiler version to 3.0 for each affected project.
1. Ensure that the _Forbidden reference (access rule)_ in Eclipse is set to `Info`
(Preferences → Java → Compiler → Errors/Warnings → Deprecated and restricted API → Forbidden reference (access rule)).
1. Optionally install the [Kotlin Plugin for Eclipse](https://marketplace.eclipse.org/content/kotlin-plugin-eclipse) if you need to execute Kotlin-based tests or develop Kotlin extensions.
Expand Down

0 comments on commit a323c39

Please sign in to comment.