Class PluginUnderTestMetadata

  • All Implemented Interfaces:
    Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, org.gradle.util.Configurable<Task>

    @Incubating
    public class PluginUnderTestMetadata
    extends DefaultTask
    Custom task for generating the metadata for a plugin user test.
    Since:
    2.13
    • Constructor Detail

      • PluginUnderTestMetadata

        public PluginUnderTestMetadata()
    • Method Detail

      • getPluginClasspath

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

        public void setPluginClasspath​(FileCollection pluginClasspath)
      • getOutputDirectory

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

        public void setOutputDirectory​(File outputDirectory)
      • generate

        public void generate()