Native: calculate and publish bundle artifacts' checksums
* Fix native publication creation ^Related to KTI-1479
This commit is contained in:
committed by
Space Team
parent
71a0dacf81
commit
926af575f9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user