public class JandexPlugin
extends java.lang.Object
implements org.gradle.api.Plugin<org.gradle.api.Project>
META-INF/jandex.idx).
Usage:
plugins {
id("io.github.iwakoshi.jandex")
}
The plugin reacts to the JavaPlugin being applied and
automatically registers a jandex task for the main source
set. If JandexExtension.getProcessTestClasses() is enabled, it also
registers a jandexTest task for the test source set.
The io.smallrye:jandex library version is configurable via the
JandexExtension.getVersion() property and defaults to
3.5.3. The library is resolved into a detached configuration and
loaded in an isolated classloader via the Gradle Worker API, keeping the
project's dependency graph clean.
JandexTask,
JandexExtension| Constructor and Description |
|---|
JandexPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.gradle.api.Project project) |