mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-176133 After gradle 4.0.1 build ends, idea is still indicating "Building..."
This commit is contained in:
@@ -223,6 +223,9 @@ public class TaskExecutionView implements ConsoleView, DataProvider {
|
||||
if (parentEventId == null) {
|
||||
if (progressEvent.getDisplayName().equals("Run build")) {
|
||||
myRoot.getInfo().setEndTime(executionInfo.getEndTime());
|
||||
String buildStatusResult =
|
||||
executionInfo.isFailed() ? "Build failed" : executionInfo.isSkipped() ? "Build skipped" : "Build succeeded";
|
||||
myRoot.getInfo().setDescriptor(new OperationDescriptorImpl(buildStatusResult, executionInfo.getEndTime()));
|
||||
myProgressAnimator.stopMovie();
|
||||
}
|
||||
else if (progressEvent.getDisplayName().startsWith("Download")) {
|
||||
|
||||
Reference in New Issue
Block a user