3fabf9b6ad
jar task is disabled, but its artifact is still used through the runtime configuration in the other projects. In fact, dependent projects get both libs/kotlin-stdlib-js-1.3-SNAPSHOT.jar lib/dist/kotlin-stdlib-js-1.3-SNAPSHOT.jar in their classpath. However the former artifact is built with libraryJarWithIr task after jar task is skipped. This leads to a situation during the parallel build that a dependent project tries to read that artifact when libraryJarWithIr task writes it. This commit adds a dependency edge between the disabled jar and custom libraryJarWithIr tasks, so that the artifact is ready by the moment jar task has finished.
Kotlin Standard Library for JS
This module produces a kotlin-stdlib-js jar which contains all the Kotlin standard kotlin library code compiled to JavaScript.
The tests of this module can be run and debugged inside any browser by opening the web/index.html file in this directory to run the test cases using Mocha.
You should execute installMocha gradle task before running these tests to fetch the required Mocha dependency and testClasses task to compile test code.
These tests are also run during CI build with Node.js plugin.