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>

@CacheableTask public abstract class JdepsTask extends JDKToolTask
  • 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract org.gradle.api.provider.ListProperty<@NonNull org.gradle.process.CommandLineArgumentProvider>
     
    abstract org.gradle.api.file.ConfigurableFileCollection
    Specify where to find class files
    abstract org.gradle.api.file.RegularFileProperty
     
    abstract org.gradle.api.provider.Property<@NonNull Boolean>
     
    abstract org.gradle.api.provider.Property<@NonNull String>
    Specify the root module for analysis
    abstract org.gradle.api.file.ConfigurableFileCollection
    Specify where to find module files
    abstract 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.ConfigurableFileCollection
    The class files to be analyzed (entries can be .class files, .jar files, or directories)
    abstract org.gradle.api.file.ConfigurableFileCollection
    Specify upgrade module path
    protected void
     

    Methods inherited from class de.infolektuell.gradle.jpackage.tasks.JDKToolTask

    exec, getExecOperations, getExecutable, getMetadata

    Methods 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, usesService

    Methods 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, setImpliesSubProjects

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      @Optional @Input public abstract org.gradle.api.provider.Property<@NonNull String> getModule()
      Specify the root module for analysis
    • getRecursive

      @Optional @Input public abstract org.gradle.api.provider.Property<@NonNull Boolean> 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

      @Internal public org.gradle.api.provider.Provider<@NonNull String> getResult()
    • jdeps

      protected void jdeps()