Class PluginUnderTestMetadata

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.plugin.devel.tasks.PluginUnderTestMetadata
All Implemented Interfaces:
Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, Named, ExtensionAware, Task, Configurable<Task>

@DisableCachingByDefault(because="Not worth caching") public abstract class PluginUnderTestMetadata extends DefaultTask
Custom task for generating the metadata for a plugin user test.
Since:
2.13
  • Field Details

  • Constructor Details

    • PluginUnderTestMetadata

      public PluginUnderTestMetadata()
  • Method Details

    • getPluginClasspath

      @Classpath public ConfigurableFileCollection getPluginClasspath()
      The code under test. Defaults to sourceSets.main.runtimeClasspath.
    • getOutputDirectory

      @OutputDirectory public DirectoryProperty getOutputDirectory()
      The target output directory used for writing the classpath manifest. Defaults to "$buildDir/$task.name".
    • generate

      public void generate()
    • getPaths

      @Input protected List<String> getPaths()