@Incubating public class PluginUnderTestMetadata extends DefaultTask
Task.Namer
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
IMPLEMENTATION_CLASSPATH_HASH_PROP_KEY |
|
static java.lang.String |
IMPLEMENTATION_CLASSPATH_PROP_KEY |
|
static java.lang.String |
METADATA_FILE_NAME |
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor | Description |
---|---|
PluginUnderTestMetadata() |
Modifier and Type | Method | Description |
---|---|---|
void |
generate() |
|
java.io.File |
getOutputDirectory() |
The target output directory used for writing the classpath manifest.
|
FileCollection |
getPluginClasspath() |
The code under test.
|
void |
setOutputDirectory(java.io.File outputDirectory) |
|
void |
setPluginClasspath(FileCollection pluginClasspath) |
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActionClassLoaders, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
public static final java.lang.String IMPLEMENTATION_CLASSPATH_PROP_KEY
public static final java.lang.String IMPLEMENTATION_CLASSPATH_HASH_PROP_KEY
public static final java.lang.String METADATA_FILE_NAME
@Classpath public FileCollection getPluginClasspath()
sourceSets.main.runtimeClasspath
.public void setPluginClasspath(FileCollection pluginClasspath)
@OutputDirectory public java.io.File getOutputDirectory()
"$buildDir/$task.name"
.public void setOutputDirectory(java.io.File outputDirectory)
public void generate()