Skip to content

Commit

Permalink
Added missing java configuration for packaging jar with sources and j…
Browse files Browse the repository at this point in the history
…avadocs.
  • Loading branch information
sskorol committed Aug 25, 2021
1 parent 0c96e71 commit 51ad81b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gradle/maven-publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ release {
tagTemplate = '${version}'
}

// Required for publishing to Sonatype
java {
withJavadocJar()
withSourcesJar()
}

jar {
inputs.property("moduleName", moduleName)
manifest {
Expand Down

0 comments on commit 51ad81b

Please sign in to comment.