Class JdepsTask
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
de.infolektuell.gradle.jpackage.tasks.JDKToolTask
de.infolektuell.gradle.jpackage.tasks.JdepsTask
- All Implemented Interfaces:
Comparable<org.gradle.api.Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.Named,org.gradle.api.plugins.ExtensionAware,org.gradle.api.Task,org.gradle.util.Configurable<org.gradle.api.Task>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Named
org.gradle.api.Named.Namer -
Field Summary
Fields inherited from interface org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.provider.ListProperty<@NonNull org.gradle.process.CommandLineArgumentProvider> abstract org.gradle.api.file.ConfigurableFileCollectionSpecify where to find class filesabstract org.gradle.api.file.RegularFilePropertyabstract org.gradle.api.provider.Property<@NonNull Boolean> abstract org.gradle.api.provider.Property<@NonNull String> Specify the root module for analysisabstract org.gradle.api.file.ConfigurableFileCollectionSpecify where to find module filesabstract org.gradle.api.provider.Property<@NonNull org.gradle.jvm.toolchain.JavaLanguageVersion> abstract org.gradle.api.provider.Property<@NonNull Boolean> Same as --list-reduced-deps with printing, a comma-separated list of module dependencies.abstract org.gradle.api.provider.Property<@NonNull Boolean> abstract org.gradle.api.provider.Property<@NonNull Boolean> Recursively traverse all run-time dependencies.org.gradle.api.provider.Provider<@NonNull String> abstract org.gradle.api.file.ConfigurableFileCollectionThe class files to be analyzed (entries can be .class files, .jar files, or directories)abstract org.gradle.api.file.ConfigurableFileCollectionSpecify upgrade module pathprotected voidjdeps()Methods inherited from class de.infolektuell.gradle.jpackage.tasks.JDKToolTask
exec, getExecOperations, getExecutable, getMetadataMethods inherited from class org.gradle.api.DefaultTask
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, usesServiceMethods inherited from class org.gradle.api.internal.AbstractTask
acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gradle.api.Task
doNotTrackState, notCompatibleWithConfigurationCache
-
Constructor Details
-
JdepsTask
public JdepsTask()
-
-
Method Details
-
getArgumentProviders
public abstract org.gradle.api.provider.ListProperty<@NonNull org.gradle.process.CommandLineArgumentProvider> getArgumentProviders() -
getSource
@Classpath @InputFiles public abstract org.gradle.api.file.ConfigurableFileCollection getSource()The class files to be analyzed (entries can be .class files, .jar files, or directories) -
getClassPath
@Classpath @InputFiles public abstract org.gradle.api.file.ConfigurableFileCollection getClassPath()Specify where to find class files -
getModulePath
@Classpath @InputFiles public abstract org.gradle.api.file.ConfigurableFileCollection getModulePath()Specify where to find module files -
getUpgradeModulePath
@Classpath @InputFiles public abstract org.gradle.api.file.ConfigurableFileCollection getUpgradeModulePath()Specify upgrade module path -
getModule
Specify the root module for analysis -
getRecursive
Recursively traverse all run-time dependencies. -
getPrintModuleDeps
@Optional @Input public abstract org.gradle.api.provider.Property<@NonNull Boolean> getPrintModuleDeps()Same as --list-reduced-deps with printing, a comma-separated list of module dependencies. This output can be used by jlink --add-modules in order to create a custom image containing those modules and their transitive dependencies. -
getIgnoreMissingDeps
@Optional @Input public abstract org.gradle.api.provider.Property<@NonNull Boolean> getIgnoreMissingDeps() -
getMultiRelease
@Optional @Input public abstract org.gradle.api.provider.Property<@NonNull org.gradle.jvm.toolchain.JavaLanguageVersion> getMultiRelease() -
getPrintModules
@Optional @Input public abstract org.gradle.api.provider.Property<@NonNull Boolean> getPrintModules() -
getDestinationFile
@OutputFile public abstract org.gradle.api.file.RegularFileProperty getDestinationFile() -
getResult
-
jdeps
protected void jdeps()
-