From 926af575f9e4b70d6c9b77da024e3b3bb70dcd7f Mon Sep 17 00:00:00 2001 From: Bogdan Mukvich Date: Mon, 18 Dec 2023 12:32:33 +0100 Subject: [PATCH] Native: calculate and publish bundle artifacts' checksums * Fix native publication creation ^Related to KTI-1479 --- 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 c2d7efd00be..e486ab26553 100644 --- a/kotlin-native/build.gradle +++ b/kotlin-native/build.gradle @@ -766,8 +766,8 @@ publishing { def bundleArchives = bundlesLocationFiles .findAll { it.name.startsWith("kotlin-native") && !it.name.contains("prebuilt") && !it.name.endsWith("spdx.json") } def bundleConfigs = createConfigurations(bundleArchives) - def archiveExtension = (target.family == Family.MINGW) ? 'zip' : 'tar.gz' bundleConfigs.forEach { target, file -> + def archiveExtension = (target.family == Family.MINGW) ? 'zip' : 'tar.gz' mvn.artifact(file) { classifier = platformName(target) extension = archiveExtension @@ -804,8 +804,8 @@ publishing { def prebuiltBundleArchives = bundlesLocationFiles .findAll { it.name.startsWith("kotlin-native-prebuilt") && !it.name.endsWith("spdx.json") } def bundlePrebuiltConfigs = createConfigurations(prebuiltBundleArchives) - def archiveExtension = (target.family == Family.MINGW) ? 'zip' : 'tar.gz' bundlePrebuiltConfigs.forEach { target, file -> + def archiveExtension = (target.family == Family.MINGW) ? 'zip' : 'tar.gz' mvn.artifact(file) { classifier = platformName(target) extension = archiveExtension