Wizard: rework build system component
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
||||
buildsystem.type.gradle.groovy=Gradle Groovy
|
||||
buildsystem.type.gradle.kotlin=Gradle Kotlin
|
||||
buildsystem.type.intellij=IntelliJ build system
|
||||
buildsystem.type.intellij=IntelliJ
|
||||
buildsystem.type.intellij.full=IntelliJ build system
|
||||
buildsystem.type.maven=Maven
|
||||
|
||||
error.template.not.found=Template with an id {0} is not found
|
||||
|
||||
+6
-3
@@ -45,7 +45,7 @@ abstract class BuildSystemPlugin(context: Context) : Plugin(context) {
|
||||
KotlinNewProjectWizardBundle.message(
|
||||
"plugin.buildsystem.setting.type.error.wrong.project.kind",
|
||||
projectKind,
|
||||
buildSystemType.text
|
||||
buildSystemType.fullText
|
||||
)
|
||||
)
|
||||
} else ValidationResult.OK
|
||||
@@ -122,10 +122,13 @@ data class BuildFileData(
|
||||
@NonNls val buildFileName: String
|
||||
)
|
||||
|
||||
enum class BuildSystemType(@Nls override val text: String) : DisplayableSettingItem {
|
||||
enum class BuildSystemType(@Nls override val text: String, val fullText: String = text) : DisplayableSettingItem {
|
||||
GradleKotlinDsl(KotlinNewProjectWizardBundle.message("buildsystem.type.gradle.kotlin")),
|
||||
GradleGroovyDsl(KotlinNewProjectWizardBundle.message("buildsystem.type.gradle.groovy")),
|
||||
Jps(KotlinNewProjectWizardBundle.message("buildsystem.type.intellij")),
|
||||
Jps(
|
||||
KotlinNewProjectWizardBundle.message("buildsystem.type.intellij"),
|
||||
KotlinNewProjectWizardBundle.message("buildsystem.type.intellij.full")
|
||||
),
|
||||
Maven(KotlinNewProjectWizardBundle.message("buildsystem.type.maven"))
|
||||
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user