Skip to content

Commit

Permalink
Generate sources with the release.
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
  • Loading branch information
Yury-Fridlyand committed Jul 9, 2024
1 parent c3369d1 commit 867c0cf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions java/client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,11 @@ publishing {
}
}

java {
withSourcesJar()
// withJavadocJar()
}

signing {
sign publishing.publications
}
Expand All @@ -236,6 +241,12 @@ jar {
archiveClassifier = "placeholder"
}

sourcesJar {
// suppress following error
// Entry glide/api/BaseClient.java is a duplicate but no duplicate handling strategy has been set
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}

spotbugsMain {
reports {
html {
Expand Down

0 comments on commit 867c0cf

Please sign in to comment.