From 8f97ba97f2a81e4c702a5c2a92219422397e81fb Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Tue, 9 Mar 2021 05:05:55 +0100 Subject: [PATCH] [kotlinx.cli] dually depends on kotlin artifacts - in kotlin build this is project dependency - in performace build this is artifact dependency --- .../endorsedLibraries/kotlinx.cli/build.gradle | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kotlin-native/endorsedLibraries/kotlinx.cli/build.gradle b/kotlin-native/endorsedLibraries/kotlinx.cli/build.gradle index 0fc7b7fc59d..7145aa0b3da 100644 --- a/kotlin-native/endorsedLibraries/kotlinx.cli/build.gradle +++ b/kotlin-native/endorsedLibraries/kotlinx.cli/build.gradle @@ -28,28 +28,28 @@ kotlin { sourceSets { commonMain { dependencies { - implementation project(":kotlin-stdlib-common") + implementation UtilsKt.projectOrFiles(project, ':kotlin-stdlib-common') } kotlin.srcDir 'src/main/kotlin' } commonTest { dependencies { - implementation project(":kotlin-test:kotlin-test-common") - implementation project(":kotlin-test:kotlin-test-annotations-common") + implementation UtilsKt.projectOrFiles(project, ":kotlin-test:kotlin-test-common") + implementation UtilsKt.projectOrFiles(project, ":kotlin-test:kotlin-test-annotations-common") } kotlin.srcDir 'src/tests' } jvm().compilations.main.defaultSourceSet { dependencies { - implementation project(":kotlin-stdlib-jdk8") + implementation UtilsKt.projectOrFiles(project, ":kotlin-stdlib-jdk8") } kotlin.srcDir 'src/main/kotlin-jvm' } // JVM-specific tests and their dependencies: jvm().compilations.test.defaultSourceSet { dependencies { - implementation project(":kotlin-test:kotlin-test-junit") + implementation UtilsKt.projectOrFiles(project, ":kotlin-test:kotlin-test-junit") } }