Wednesday, 16 February 2022

Eclipse not recognizing Gradle dependencies


1) First add below line in build.gradle

apply plugin: “eclipse"



2) Next execute below commands in command prompt in the project folder.

./gradlew cleanEclipse

./gradlew eclipse



3) Go to eclipse and right-click project folder and navigate to Gradle/Refresh gradle nature


4) Finally we can see gradle dependencies jars are added in build path from .gradle cache folder

No comments: