Make project wizards produce kotlin-test-js testDependency in all Kotlin/JS projects
This commit is contained in:
+2
-1
@@ -134,6 +134,8 @@ open class GradleKotlinJSFrameworkSupportProvider(frameworkTypeId: String = "KOT
|
|||||||
|
|
||||||
override fun getDependencies(sdk: Sdk?) = listOf(MAVEN_JS_STDLIB_ID)
|
override fun getDependencies(sdk: Sdk?) = listOf(MAVEN_JS_STDLIB_ID)
|
||||||
|
|
||||||
|
override fun getTestDependencies() = listOf(MAVEN_JS_TEST_ID)
|
||||||
|
|
||||||
override fun getDescription() = "A Kotlin library or application targeting JavaScript"
|
override fun getDescription() = "A Kotlin library or application targeting JavaScript"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -160,5 +162,4 @@ class GradleKotlinMPPJSFrameworkSupportProvider
|
|||||||
|
|
||||||
override fun getPluginId() = "kotlin-platform-js"
|
override fun getPluginId() = "kotlin-platform-js"
|
||||||
override fun getDescription() = "JavaScript-specific code for a Kotlin multiplatform project"
|
override fun getDescription() = "JavaScript-specific code for a Kotlin multiplatform project"
|
||||||
override fun getTestDependencies() = listOf(MAVEN_JS_TEST_ID)
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user