@DisableCachingByDefault(because="This task runs an external tool. It needs to perform its own up-to-date checks.")
public abstract class DependencyExportTask
extends org.gradle.api.DefaultTask
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
ARTIFACT_TYPES
In addition to pom files we need to ensure that we have jar files
and module files for the project dependencies
|
| Constructor and Description |
|---|
DependencyExportTask(com.canonical.rockcraft.builder.DependencyOptions options)
Constructs DependencyExportTask
|
| Modifier and Type | Method and Description |
|---|---|
void |
export()
Task action to write dependencies
|
abstract org.gradle.api.file.DirectoryProperty |
getOutputDirectory()
Output directory for the dependency export
|
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, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceacceptServiceReferences, appendParallelSafeAction, doNotTrackState, doNotTrackStateIf, getAsDynamicObject, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonsNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, restoreOnlyIf, restoreTaskActions, setImpliesSubProjectspublic static final java.lang.String[] ARTIFACT_TYPES
@Inject public DependencyExportTask(com.canonical.rockcraft.builder.DependencyOptions options)
options - - dependency export options@OutputDirectory public abstract org.gradle.api.file.DirectoryProperty getOutputDirectory()
public void export()
throws java.io.IOException
java.io.IOException - - failed to write dependencies