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