Class ProcessResources

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.internal.ConventionTask
org.gradle.api.tasks.AbstractCopyTask
org.gradle.api.tasks.Copy
org.gradle.language.jvm.tasks.ProcessResources
All Implemented Interfaces:
Comparable<Task>, ContentFilterable, CopyProcessingSpec, CopySourceSpec, CopySpec, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.file.copy.CopySpecSource, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, Named, ExtensionAware, Task, PatternFilterable, Configurable<Task>

@DisableCachingByDefault(because="Not worth caching") public abstract class ProcessResources extends Copy
Copies resources from their source to their target directory, potentially processing them. Makes sure no stale resources remain in the target directory.
  • Constructor Details

    • ProcessResources

      public ProcessResources()
  • Method Details

    • copy

      protected void copy()
      Overrides:
      copy in class AbstractCopyTask
    • getDeleter

      @Inject protected org.gradle.internal.file.Deleter getDeleter()