Gradle, JS: resolve NPM dependencies inside task when possible

#KT-30530
This commit is contained in:
Sergey Rostov
2019-05-13 10:54:21 +03:00
parent a69881850b
commit c0deea33bb
13 changed files with 215 additions and 82 deletions
@@ -30,10 +30,7 @@ internal val jvmPresetEntry = KotlinPresetEntry(
internal val jsPresetEntry = KotlinPresetEntry(
"js",
typeName("$MPP_PACKAGE.KotlinJsTargetPreset"),
typeName(
"$MPP_PACKAGE.KotlinOnlyTarget",
"$MPP_PACKAGE.KotlinJsCompilation"
)
typeName("org.jetbrains.kotlin.gradle.targets.js.KotlinJsTarget")
)
internal val androidPresetEntry = KotlinPresetEntry(