From fc4dd05cf0613a4b147770b32983a1b2f9ff3242 Mon Sep 17 00:00:00 2001 From: sonologico <1592315+sonologico@users.noreply.github.com> Date: Tue, 5 Jul 2022 11:57:30 +0200 Subject: [PATCH] Ensure gradle publish includes sources and documentation (#330) --- build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 1a225b98..c86ef0d1 100644 --- a/build.gradle +++ b/build.gradle @@ -41,7 +41,6 @@ ext.sharedManifest = manifest { ) } - repositories { mavenCentral() } @@ -128,6 +127,11 @@ artifacts { archives jar, fatJar, sourcesJar, javadocJar } +java { + withJavadocJar() + withSourcesJar() +} + publishing { publications { mavenJava(MavenPublication) {