en-US/about_Whiskey_TaskDefaults_Task.help.txt

TOPIC
    about_Whiskey_TaskDefaults_Task
 
 
SUMMARRY
    Sets default values for task properties.
 
 
DESCRIPTION
    The `TaskDefaults` task will set default values for Whiskey task properties. Define task defaults just as you would define the task itself, except nest it under a `TaskDefaults` task. If an invalid task name is given the build will fail. Task defaults can also be set using the `Add-WhiskeyTaskDefault` function. The last defaults set take precedence over previous defaults.
 
 
EXAMPLES
 
    ## Example 1
 
    The following example demonstrates setting default values for the `MSBuild` task `Version` property and the `NuGetPack` task `Symbols` property.
    
        Build:
        - TaskDefaults:
            MSBuild:
                Version: 13.0
            NuGetPack:
                Symbols: true