diff --git a/base/build.gradle b/base/build.gradle index c38642d..462cccc 100644 --- a/base/build.gradle +++ b/base/build.gradle @@ -140,6 +140,12 @@ test { } } +// Include javadoc and source jar during publishing +java { + withJavadocJar() + withSourcesJar() +} + // Build publishing configuration // Note: You can safely ignore any errors or warnings thrown by your IDE here publishing { diff --git a/slf4j-compat/build.gradle b/slf4j-compat/build.gradle index fae709f..568f101 100644 --- a/slf4j-compat/build.gradle +++ b/slf4j-compat/build.gradle @@ -80,6 +80,12 @@ javadoc { } } +// Include javadoc and source jar during publishing +java { + withJavadocJar() + withSourcesJar() +} + // Build publishing configuration // Note: You can safely ignore any errors or warnings thrown by your IDE here publishing {