i download fresh STS, do 'import' and... there is nothing related to gradle.
do i have to install some plugins first? or maybe preferred way is to add apply plugin 'eclipse'
and run gradle eclipse
first? what is the suggested way?
Step 1: Open your Eclipse IDE and go to File » Import. Step 2: Search for Gradle, expand the folder and go to Gradle » Existing Gradle Project » Next. Step 3: Specify the root directory of the Gradle project to import and click on the Next button.
Go to the New project wizard (Ctrl-N) of STS Eclipse and create a Gradle project. On the Gradle Projec t wizard , assign a name for your project and choose Java Quickstart for the Sample project option. Click Finish and it will take a while to create, build, clean, and install your Gradle STS project.
From https://github.com/eclipse/buildship/wiki/Migration-guide-from-STS-Gradle-to-Buildship
There are two major Gradle plugins for Eclipse: one created by SpringSource as part of the Spring Tool Suite and one called Buildship developed by Gradle Inc. Since Buildship became an eclipse.org project, the SpringSource developers are planning to phase out their tooling and switch to Buildship.
So Buildship is the only currently supported variant.
There are three options to import Gradle projects into STS/Eclipse:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With