From 9d70ec0dbb21a4eea4db902218ed9a81940e0617 Mon Sep 17 00:00:00 2001 From: Pavel Punegov <32519625+PavelPunegov@users.noreply.github.com> Date: Wed, 6 Feb 2019 17:19:27 +0300 Subject: [PATCH] Make unzip stdlib sources depend on stdlib-common's sources task --- backend.native/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend.native/build.gradle b/backend.native/build.gradle index df39112d196..f0e7e1d694b 100644 --- a/backend.native/build.gradle +++ b/backend.native/build.gradle @@ -156,6 +156,10 @@ task start(dependsOn: "${hostName}Start") def commonSrc = file('build/stdlib') task unzipStdlibSources(type: Copy) { + if (project.hasProperty("kotlinProjectPath")) { + dependsOn gradle.includedBuild('kotlin').task(":kotlin-stdlib-common:sourcesJar") + } + def jarFiles = configurations.kotlin_common_stdlib_src.files + configurations.kotlin_test_common_src.files + configurations.kotlin_test_annotations_common_src.files