Skip to content

Commit

Permalink
fix: JavaDocs jar added for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz.gryzbon committed Feb 27, 2022
1 parent 7296e8f commit 3e35533
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ subprojects {

java {
withSourcesJar()
withJavadocJar()
}
}

Expand Down
8 changes: 4 additions & 4 deletions publishing.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ task sourcesJar(type: Jar, dependsOn: classes) {
from sourceSets.main.allSource
}

//task javadocJar(type: Jar) {
// archiveClassifier.set('javadoc')
// from javadoc
//}
task javadocJar(type: Jar) {
archiveClassifier.set('javadoc')
from javadoc
}

artifacts {
archives jar
Expand Down

0 comments on commit 3e35533

Please sign in to comment.