Unverified Commit 4804106d authored by Nikolay Igotti's avatar Nikolay Igotti Committed by GitHub

Workaround bug in Kotlin/JS to fix linux/arm build. (#171)

parent 4e39fa88
......@@ -824,3 +824,12 @@ afterEvaluate {
}
}
}
// Kotlin/JS has a bug preventing compilation on non-x86 Linux machines,
// see https://youtrack.jetbrains.com/issue/KT-48631
// It always downloads and uses x86 version, so on those achitectures
if (hostOs == OS.Linux && hostArch != Arch.X64) {
rootProject.plugins.withType(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin::class.java) {
rootProject.the<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension>().download = false
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment