From 0a6c4c985cd0cf97cd0950debafad28f75c91fd8 Mon Sep 17 00:00:00 2001 From: Svyatoslav Scherbina Date: Wed, 1 Dec 2021 14:13:18 +0300 Subject: [PATCH] Native: fix packing licenses into the bundle The source directory became wrong after merging the kotlin-native/ into kotlin. --- kotlin-native/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kotlin-native/build.gradle b/kotlin-native/build.gradle index da58d3e020d..abac9edfe81 100644 --- a/kotlin-native/build.gradle +++ b/kotlin-native/build.gradle @@ -536,7 +536,7 @@ task bundleRegular(type: (isWindows()) ? Zip : Tar) { exclude 'klib/cache/*/org.jetbrains.kotlin.native.platform.*/**' into archiveBaseName } - from(project.rootDir) { + from(project.projectDir) { include 'licenses/**' exclude '**/xcode_license.pdf' into archiveBaseName @@ -553,7 +553,7 @@ task bundlePrebuilt(type: (isWindows()) ? Zip : Tar) { exclude 'klib/testLibrary' into archiveBaseName } - from(project.rootDir) { + from(project.projectDir) { include 'licenses/**' into archiveBaseName }