From aef804ecf8c960fe2b9f289e2f6ec1729a78521f Mon Sep 17 00:00:00 2001 From: Matyrobbrt Date: Mon, 24 Jun 2024 00:04:31 +0300 Subject: [PATCH] Publish javadoc jar --- build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index e752a39..f915638 100644 --- a/build.gradle +++ b/build.gradle @@ -71,7 +71,10 @@ shadowJar { assemble.dependsOn shadowJar -java.withSourcesJar() +java { + withSourcesJar() + withJavadocJar() +} tasks.withType(JavaCompile).configureEach { options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation