Question

We have a gradle project in SVN and we are checking out that project from SVN into MyEclipse. This project is having build.gradle and settings.graddle along with src which is having project source code. When I right click on build.gradle file gradle build options as are not displaying and we are unable to build from MyEclipse. But, those build options are enabling when we import the project from one of the folder as gradle project after clicking on "build model" option. Can anyone explain why gradle build options are not getting displayed in MyEclipse?

SVN gradle project structure as below -

Was it helpful?

Solution

Are you saving the project's .project file in SVN? If the project in SVN does not have a .project file, then you will have to check it out as a project using the New Project Wizard and select Gradle/Gradle Project from the list of new project wizards.

If you do have a .project file, check it to make sure it has the gradle project nature.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top