From 6eb86fcd79f46c02da91857cbf738f00cc11edac Mon Sep 17 00:00:00 2001 From: theshadowco Date: Thu, 4 Jan 2024 09:17:33 +0300 Subject: [PATCH] add javadoc --- build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index bcc0d04..3609b43 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,6 +11,8 @@ plugins { id("org.cadixdev.licenser") version "0.6.1" id("me.qoomon.git-versioning") version "6.4.3" id("io.freefair.lombok") version "8.4" + id("io.freefair.javadoc-links") version "8.4" + id("io.freefair.javadoc-utf-8") version "8.4" id("com.github.ben-manes.versions") version "0.50.0" id("me.champeau.jmh") version "0.7.2" id("io.freefair.maven-central.validate-poms") version "8.4" @@ -62,6 +64,7 @@ java { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 withSourcesJar() + withJavadocJar() } tasks.withType { @@ -114,6 +117,7 @@ sonar { artifacts { archives(tasks["jar"]) archives(tasks["sourcesJar"]) + archives(tasks["javadocJar"]) } signing {