How to obtain a reference to org.gradle.api.Project?


(Andrey Myatlyuk) #1

Hi! I’m working on a plugin for FitNesse to parse build.gradle build script for dependencies. I looked at tooling-api examples and could not find an example for my case. As API documentation says, I need to start with Project, so I need a reference to Project interface, but how can I get it? I looked into GradleConnector, ProjectConnection and GradleProject. Any other ideas? Thank you, Andrey


(Andrey Myatlyuk) #2

It seems that the relevant question was already asked and answered before: http://forums.gradle.org/gradle/topics/embedding_gradle_retrieving_project_info

I will try to use IdeaModel or EclipseModel for my purpose.