ProjectConnection (Project API)

Hello. Is it possible to get access to project api of gradle project. I mean i need to know version, groupId, properties of projects and etc.

P.S. Mb like this >

ProjectConnection conn = getConnection(anActionEvent.getProject().getBaseDir().getPath(), s);

GradleProject gp = conn.getModel(GradleProject.class);


Is there information you need that is not exposed by the ‘Project’ interface? Also, where are you trying to access the project from (build script, init script, script plugin, binary plugin, etc)?