Add icon for multiplatform projects, update JS icon
#KT-19824 Fixed
@@ -55,4 +55,5 @@ public interface KotlinIcons {
|
||||
Icon LAUNCH = IconLoader.getIcon("/org/jetbrains/kotlin/idea/icons/kotlin_launch_configuration.png");
|
||||
|
||||
Icon JS = IconLoader.getIcon("/org/jetbrains/kotlin/idea/icons/kotlin_js.png");
|
||||
Icon MPP = IconLoader.getIcon("/org/jetbrains/kotlin/idea/icons/kotlin_multiplatform_project.png");
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ open class GradleKotlinJSFrameworkSupportProvider(frameworkTypeId: String = "KOT
|
||||
}
|
||||
|
||||
open class GradleKotlinMPPCommonFrameworkSupportProvider :
|
||||
GradleKotlinFrameworkSupportProvider("KOTLIN_MPP_COMMON", "Kotlin (Multiplatform Common - Experimental)", KotlinIcons.SMALL_LOGO) {
|
||||
GradleKotlinFrameworkSupportProvider("KOTLIN_MPP_COMMON", "Kotlin (Multiplatform Common - Experimental)", KotlinIcons.MPP) {
|
||||
override fun getPluginId() = "kotlin-platform-common"
|
||||
|
||||
override fun getDependencies(sdk: Sdk?) = listOf(MAVEN_COMMON_STDLIB_ID)
|
||||
|
||||
@@ -38,7 +38,7 @@ class KotlinGradleMultiplatformModuleBuilder : GradleModuleBuilder() {
|
||||
|
||||
override fun getBuilderId() = "kotlin.gradle.multiplatform"
|
||||
|
||||
override fun getNodeIcon() = KotlinIcons.SMALL_LOGO
|
||||
override fun getNodeIcon() = KotlinIcons.MPP
|
||||
|
||||
override fun getPresentableName() = "Kotlin (Multiplatform - Experimental)"
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 313 B After Width: | Height: | Size: 454 B |
|
Before Width: | Height: | Size: 601 B After Width: | Height: | Size: 934 B |
|
After Width: | Height: | Size: 424 B |
|
After Width: | Height: | Size: 739 B |
|
After Width: | Height: | Size: 739 B |
|
After Width: | Height: | Size: 425 B |
@@ -34,5 +34,5 @@ object CommonLibraryType : LibraryType<DummyLibraryProperties>(CommonLibraryKind
|
||||
contextDirectory: VirtualFile?,
|
||||
project: Project): NewLibraryConfiguration? = null
|
||||
|
||||
override fun getIcon(properties: DummyLibraryProperties?) = KotlinIcons.SMALL_LOGO
|
||||
override fun getIcon(properties: DummyLibraryProperties?) = KotlinIcons.MPP
|
||||
}
|
||||
|
||||