Build: Fix kotlinx-metadata-klib publication
This commit is contained in:
@@ -42,7 +42,7 @@ if (deployVersion != null) {
|
||||
|
||||
noDefaultJar()
|
||||
|
||||
val shadowJar = tasks.register<ShadowJar>("shadowJar") {
|
||||
runtimeJar(tasks.register<ShadowJar>("shadowJar")) {
|
||||
callGroovy("manifestAttributes", manifest, project)
|
||||
manifest.attributes["Implementation-Version"] = version
|
||||
|
||||
@@ -52,8 +52,6 @@ val shadowJar = tasks.register<ShadowJar>("shadowJar") {
|
||||
relocate("org.jetbrains.kotlin", "kotlinx.metadata.internal")
|
||||
}
|
||||
|
||||
runtimeJarArtifactBy(shadowJar, shadowJar)
|
||||
|
||||
sourcesJar {
|
||||
for (dependency in shadows.dependencies) {
|
||||
if (dependency is ProjectDependency) {
|
||||
|
||||
Reference in New Issue
Block a user