Skip to content

Commit f62caa2

Browse files
authored
Do not depend on sources and javadocs twice during the publication process (#167)
* 'java { withXJar }' already provides a dependency Fixes 'Invalid publication 'maven': multiple artifacts with the identical extension and classifier ('jar', 'javadoc')' failure during publication process
1 parent 041d70b commit f62caa2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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)