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.