Build: fix kotlinx-metadata-jvm publication
Co-authored-by: Vyacheslav Gerasimov <vyacheslav.gerasimov@jetbrains.com>
This commit is contained in:
@@ -54,7 +54,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
|
||||
|
||||
@@ -64,8 +64,6 @@ val shadowJar = tasks.register<ShadowJar>("shadowJar") {
|
||||
relocate("org.jetbrains.kotlin", "kotlinx.metadata.internal")
|
||||
}
|
||||
|
||||
runtimeJarArtifactBy(shadowJar, shadowJar)
|
||||
|
||||
val test by tasks
|
||||
test.dependsOn("shadowJar")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user