Comparable<Task>
, org.gradle.api.internal.DynamicObjectAware
, org.gradle.api.internal.TaskInternal
, ExtensionAware
, Task
, Configurable<Task>
@DisableCachingByDefault(because="Not worth caching") public class PluginUnderTestMetadata extends DefaultTask
Task.Namer
Modifier and Type | Field | Description |
---|---|---|
static String |
IMPLEMENTATION_CLASSPATH_PROP_KEY |
|
static String |
METADATA_FILE_NAME |
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor | Description |
---|---|
PluginUnderTestMetadata() |
Modifier and Type | Method | Description |
---|---|---|
void |
generate() |
|
DirectoryProperty |
getOutputDirectory() |
The target output directory used for writing the classpath manifest.
|
protected List<String> |
getPaths() |
|
ConfigurableFileCollection |
getPluginClasspath() |
The code under test.
|
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, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doNotTrackState, getConvention, notCompatibleWithConfigurationCache
public static final String IMPLEMENTATION_CLASSPATH_PROP_KEY
public static final String METADATA_FILE_NAME
@Classpath public ConfigurableFileCollection getPluginClasspath()
sourceSets.main.runtimeClasspath
.@OutputDirectory public DirectoryProperty getOutputDirectory()
"$buildDir/$task.name"
.public void generate()