Skip to content

Commit 7b656c9

Browse files
qwwdfsadshanshin
authored andcommitted
[ABI Validation] Do not depend on sources and javadocs twice during the publication process
* 'java { withXJar }' already provides a dependency Fixes 'Invalid publication 'maven': multiple artifacts with the identical extension and classifier ('jar', 'javadoc')' failure during publication process Pull request Kotlin/binary-compatibility-validator#167
1 parent d02d73f commit 7b656c9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libraries/tools/abi-validation/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ publishing {
113113
publications {
114114
create<MavenPublication>("maven") {
115115
from(components["java"])
116-
artifact(tasks.javadocJar)
117-
artifact(tasks.sourcesJar)
118116
}
119117

120118
mavenRepositoryPublishing(project)

0 commit comments

Comments
 (0)