void (org.gradle.tooling.ProgressEvent event) { var eventDescription = event.getDescription(); if (!maybeReportModelBuilderMessage(eventDescription)) { var progressBuildEvent = myProgressMapper.mapLegacyEvent(myTaskId, eventDescription); if (progressBuildEvent != null && !progressBuildEvent.equals(myLastStatusChange)) { myListener.onStatusChange(progressBuildEvent); myLastStatusChange = progressBuildEvent; } var taskNotificationEvent = GradleProgressEventConverter.legacyConvertTaskNotificationEvent(myTaskId, eventDescription); myListener.onStatusChange(taskNotificationEvent); if (sendProgressEventsToOutput) { reportGradleDaemonStartingEvent(eventDescription); } } }