Wizard: move downloading Kotlin version phase to the end

This commit is contained in:
Ilya Kirillov
2020-03-01 12:34:57 +03:00
parent a03510e3c0
commit a9c96a7cde
5 changed files with 27 additions and 19 deletions
@@ -1,7 +1,7 @@
package org.jetbrains.kotlin.tools.projectWizard.phases
enum class GenerationPhase {
PREPARE, INIT_TEMPLATE, FIRST_STEP, SECOND_STEP, PROJECT_GENERATION, PROJECT_IMPORT
PREPARE, INIT_TEMPLATE, FIRST_STEP, SECOND_STEP, PREPARE_GENERATION, PROJECT_GENERATION, PROJECT_IMPORT
;
@@ -23,7 +23,7 @@ import java.nio.file.Path
class KotlinPlugin(context: Context) : Plugin(context) {
val version by property(KotlinVersionProviderServiceImpl.DEFAULT)
val initKotlinVersions by pipelineTask(GenerationPhase.PREPARE) {
val initKotlinVersions by pipelineTask(GenerationPhase.PREPARE_GENERATION) {
title = "Downloading list of Kotlin versions"
withAction {