[K/N][build] Make kotlin-native.jar archive version empty
Gradle base plugin sets convention to project's version that can be SNAPSHOT that brakes name of the archive
This commit is contained in:
committed by
Space Team
parent
fd9f542895
commit
b0b3698698
@@ -225,13 +225,14 @@ task shadowJar(type: ShadowJar) {
|
||||
mergeServiceFiles()
|
||||
destinationDirectory.set(file("$distDir/konan/lib"))
|
||||
archiveBaseName.set("kotlin-native")
|
||||
archiveVersion.set("")
|
||||
archiveClassifier.set("")
|
||||
// Exclude trove4j because of license agreement.
|
||||
exclude "*trove4j*"
|
||||
exclude("META-INF/versions/9/module-info.class")
|
||||
configurations = [project.configurations.distPack]
|
||||
archiveClassifier.set(null)
|
||||
outputs.upToDateWhen {
|
||||
archiveFile.getOrNull()?.asFile.exists() ?: false
|
||||
archiveFile.getOrNull()?.asFile?.exists() ?: false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user