In Project Explorer: Right click on Gradle project Gradle Refresh All New dependencies should be downloaded and project refreshed. Java import statements for new Gradle project dependencies should work after this.
How to add a java Gradle Project into an existing Eclipse project Start by importing your required Java Gradle projects into Eclipse’s Project Explorer. Highlight your main project in Project Explorer. This is the project you want to add a Gradle java project to (so you can use import statements on packages found in the other Gradle project).… Read More »