From 6722a5b020a177274c776f70677daf69198d79e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Bresson?= Date: Mon, 16 Dec 2024 14:01:33 +0100 Subject: [PATCH] Add jandex plugin (#1211) --- build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.gradle b/build.gradle index 5a35805e..778b8511 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,6 @@ plugins { id 'com.diffplug.spotless' version '6.25.0' apply false + id 'org.kordamp.gradle.jandex' version '2.1.0' apply false id 'io.github.gradle-nexus.publish-plugin' version '1.3.0' id 'net.researchgate.release' version '3.0.2' } @@ -15,6 +16,7 @@ subprojects { apply plugin: 'signing' apply plugin: 'com.diffplug.spotless' apply plugin: 'maven-publish' + apply plugin: 'org.kordamp.gradle.jandex' group = groupId @@ -55,6 +57,10 @@ subprojects { tasks.named('test') { useJUnitPlatform() } + + tasks.named("javadoc") { + inputs.files(tasks.getByPath("jandex").outputs.files) + } } nexusPublishing {