Build: fix kotlinx-metadata-jvm publication

Co-authored-by: Vyacheslav Gerasimov <vyacheslav.gerasimov@jetbrains.com>
This commit is contained in:
Alexander Udalov
2020-10-15 14:42:25 +02:00
parent 8dd80fe3c9
commit 95edcea9a9
2 changed files with 6 additions and 16 deletions
@@ -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")