diff --git a/java/client/build.gradle b/java/client/build.gradle index e66d59f43b..165ca30133 100644 --- a/java/client/build.gradle +++ b/java/client/build.gradle @@ -216,6 +216,11 @@ publishing { } } +java { + withSourcesJar() +// withJavadocJar() +} + signing { sign publishing.publications } @@ -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 {