From 10abe1d3f0b2321b2db7c798655755c9a739de9c Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Thu, 18 Jul 2024 01:25:23 +0200 Subject: [PATCH] Enable javadoc and source jar upload --- base/build.gradle | 6 ++++++ slf4j-compat/build.gradle | 6 ++++++ 2 files changed, 12 insertions(+) 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 {