use of org.gradle.tooling.model.ProjectIdentifier in project gradle by gradle.
the class GradleBuildConverter method toPartialGradleProject.
private PartialBasicGradleProject toPartialGradleProject(GradleProject childProject) {
PartialBasicGradleProject basicGradleProject = new PartialBasicGradleProject();
basicGradleProject.setName(childProject.getName());
ProjectIdentifier id = childProject.getProjectIdentifier();
basicGradleProject.setProjectIdentifier(new DefaultProjectIdentifier(id.getBuildIdentifier().getRootDir(), id.getProjectPath()));
return basicGradleProject;
}
Aggregations