@CacheableTask
public abstract class JandexTask
extends org.gradle.api.DefaultTask
| Constructor and Description |
|---|
JandexTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
generateIndex()
Executes the Jandex indexing via the Worker API.
|
abstract org.gradle.api.file.ConfigurableFileCollection |
getClassesDirs()
The directories containing the class files to index.
|
abstract org.gradle.api.provider.Property<java.lang.Integer> |
getIndexVersion()
The version of the Jandex index format to use.
|
abstract org.gradle.api.file.ConfigurableFileCollection |
getJandexClasspath()
The classpath containing the
io.smallrye:jandex library. |
abstract org.gradle.api.file.RegularFileProperty |
getOutputFile()
The file path to the Jandex index file to be generated.
|
abstract org.gradle.workers.WorkerExecutor |
getWorkerExecutor() |
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceacceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects@InputFiles @SkipWhenEmpty @PathSensitive(value=RELATIVE) public abstract org.gradle.api.file.ConfigurableFileCollection getClassesDirs()
@Classpath public abstract org.gradle.api.file.ConfigurableFileCollection getJandexClasspath()
io.smallrye:jandex library.
Resolved from a detached configuration at configuration time.@OutputFile public abstract org.gradle.api.file.RegularFileProperty getOutputFile()
@Input @Optional public abstract org.gradle.api.provider.Property<java.lang.Integer> getIndexVersion()
6) for
compatibility with readers that don't support the latest format.
Value must be >= 6.@Inject public abstract org.gradle.workers.WorkerExecutor getWorkerExecutor()
public void generateIndex()