From e9cea3358d9b41c4ee0f4b1ce0de93e7e434616a Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Wed, 15 Jan 2020 21:52:25 +0300 Subject: [PATCH] Do not use libraryJarWithoutIr as runtime output artifact This avoids having both libraryJarWithoutIr and default jar artifact, which points to the same path as libraryJarWithIr, in the dependent projects' classpath. Use libraryJarWithIr instead. For local builds where libraryJarWithIr doesn't contain any IR, this should have the same effect. --- libraries/kotlin.test/js/build.gradle | 2 +- libraries/stdlib/js-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/kotlin.test/js/build.gradle b/libraries/kotlin.test/js/build.gradle index 48377af7cdc..f8c4394a755 100644 --- a/libraries/kotlin.test/js/build.gradle +++ b/libraries/kotlin.test/js/build.gradle @@ -74,7 +74,7 @@ task sourcesJar(type: Jar, dependsOn: classes) { } artifacts { - runtime libraryJarWithoutIr + runtime libraryJarWithIr archives libraryJarWithIr distLibrary libraryJarWithoutIr archives sourcesJar diff --git a/libraries/stdlib/js-v1/build.gradle b/libraries/stdlib/js-v1/build.gradle index 38e3877ce76..d5826433209 100644 --- a/libraries/stdlib/js-v1/build.gradle +++ b/libraries/stdlib/js-v1/build.gradle @@ -370,7 +370,7 @@ task distSourcesJar(type: Jar) { artifacts { - runtime libraryJarWithoutIr + runtime libraryJarWithIr archives libraryJarWithIr archives sourcesJar sources sourcesJar