Class NarrativeTraceRefreshSkillsTask
- All Implemented Interfaces:
Comparable<org.gradle.api.Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.Named,org.gradle.api.plugins.ExtensionAware,org.gradle.api.Task,org.gradle.util.Configurable<org.gradle.api.Task>
narrativetraceRefreshSkills: keeps an install current, and never starts one (D11 as
ruled). Wired in front of classes, so it runs on every build.
INTENT: a project that ran narrativetraceInit once should not drift a release behind
without noticing. What it may do is deliberately narrow — RefreshPlanner keeps only the
actions that REWRITE something already ours, so no build can create a skill, append a section, or
add an import line nobody asked for.
@llmNote The order matters: a project with no skill directory of ours returns BEFORE
the carrier is reached, so a project that never ran init never resolves an artifact and
an offline build of it is silent. Only a project that already carries an install can produce the
offline warning.
@llmNote Untracked on purpose: its inputs are the project's own tracked files, which it rewrites in place. There is no output for Gradle to compare, and pretending otherwise would make it UP-TO-DATE on the build after an upgrade — exactly the build that needs it.
@sideEffects May resolve one configuration and rewrite pages the installer wrote. Silent, and writes nothing, when everything is current.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Task
org.gradle.api.Task.Namer -
Field Summary
Fields inherited from interface org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.file.ConfigurableFileCollectionThe resolved carrier jar; queried only when this project carries an install of ours.abstract org.gradle.api.provider.Property<String>The coordinate the carrier was asked for — what a failure has to be able to name.abstract org.gradle.api.file.DirectoryPropertyThe project to refresh — this project's own directory in real use.voidrefresh()Methods inherited from class org.gradle.api.DefaultTask
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, usesServiceMethods inherited from class org.gradle.api.internal.AbstractTask
acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gradle.api.Task
doNotTrackState, getConvention, notCompatibleWithConfigurationCache
-
Constructor Details
-
NarrativeTraceRefreshSkillsTask
public NarrativeTraceRefreshSkillsTask()
-
-
Method Details
-
getTargetDir
@Internal public abstract org.gradle.api.file.DirectoryProperty getTargetDir()The project to refresh — this project's own directory in real use. -
getCarrier
@Internal public abstract org.gradle.api.file.ConfigurableFileCollection getCarrier()The resolved carrier jar; queried only when this project carries an install of ours. -
getCarrierCoordinate
The coordinate the carrier was asked for — what a failure has to be able to name. -
refresh
public void refresh()
-