Gradle project and version parsing fix.
@@ -118,7 +118,7 @@ public class GradleReportParser {
final ExternalId id = externalIdFactory.createMavenExternalId(projectGroup, projectName, projectVersionName);
final DetectCodeLocation detectCodeLocation = new DetectCodeLocation.Builder(BomToolType.GRADLE, projectSourcePath, id, graph).build();
- return new GradleParseResult(projectName, projectVersionName, detectCodeLocation);
+ return new GradleParseResult(rootProjectName, rootProjectVersionName, detectCodeLocation);
}
private void clearState() {
