gradle: do not perform import of maven repositories after project open if auto-import...
[idea/community.git] / plugins / gradle / src / org / jetbrains / plugins / gradle / integrations / maven / GradleProjectStartupActivity.java
index 7c014cc3777de9853ec4e28be5860fde696548f6..11186fdb216e78cea8a332e70986b8f814003f3a 100644 (file)
@@ -19,7 +19,6 @@ import com.intellij.openapi.application.ApplicationManager;
 import com.intellij.openapi.project.DumbService;
 import com.intellij.openapi.project.Project;
 import com.intellij.openapi.startup.StartupActivity;
-import com.intellij.openapi.startup.StartupManager;
 import org.jetbrains.annotations.NotNull;
 
 /**
@@ -31,6 +30,6 @@ public class GradleProjectStartupActivity implements StartupActivity {
   @Override
   public void runActivity(@NotNull final Project project) {
     if (ApplicationManager.getApplication().isUnitTestMode()) return;
-    DumbService.getInstance(project).smartInvokeLater(new ImportMavenRepositoriesTask(project));
+    DumbService.getInstance(project).smartInvokeLater(new ImportMavenRepositoriesTask(project, false));
   }
 }