Introduce new Gradle plugin org.jetbrains.kotlin.js

This is the Gradle plugin that does not rely on the
Java model and uses the same Kotlin model
(target – compilation – source set) as MPP does.

Also add JS DCE support for this plugin.

Issue #KT-5756 Fixed
Issue #KT-13256 Fixed
Issue #KT-16355 Fixed
Issue #KT-20156 Fixed
Issue #KT-29284 Fixed
This commit is contained in:
Sergey Igushkin
2019-03-12 18:24:23 +03:00
parent 03b74343c8
commit 91ce7ef5ca
18 changed files with 230 additions and 57 deletions
@@ -128,6 +128,11 @@ pluginBundle {
id = "org.jetbrains.kotlin.jvm",
display = "Kotlin JVM plugin"
)
create(
name = "kotlinJsPlugin",
id = "org.jetbrains.kotlin.js",
display = "Kotlin JS plugin"
)
create(
name = "kotlinMultiplatformPlugin",
id = "org.jetbrains.kotlin.multiplatform",