open class NuGetInstallerStep : BuildStep
A NuGet installer step to run nuget restore command
See Also
sealed class Mode : CompoundParam<Mode> |
|
enum class UpdateMode
Update mode |
|
sealed class UpdatePackages : CompoundParam<UpdatePackages> |
NuGetInstallerStep(init: NuGetInstallerStep.() -> Unit) NuGetInstallerStep()
A NuGet installer step to run nuget restore command |
var args: String?
Enter additional parameters to use when calling nuget pack command. |
|
var mode: Mode?
Select NuGet.exe restore or NuGet.exe install command to restore packages |
|
var noCache: Boolean?
Disable looking up packages from local machine cache. |
|
var projects: String?
Specify the location of a solution or a packages.config file. |
|
var sources: String?
Specifies NuGet package sources to use during the restore. |
|
var toolPath: String?
Specify path to NuGet.exe. |
|
var updatePackages: UpdatePackages?
Uses the NuGet update command to update all packages under solution |
var conditions: BuildStepConditions
Optional collection of build step execution conditions |
|
var enabled: Boolean
Specifies whether the step is enabled, true by default |
|
var executionMode: ExecutionMode
Build step execution mode |
|
var id: String?
Id of the step, if not specified will be generated |
|
var name: String
Build step name |
|
var type: String
Build step type |
fun install(init: Install.() -> Unit = {}): Install |
|
fun updateParams(init: UpdateParams.() -> Unit = {}): UpdateParams |
|
open fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
fun clearConditions(): Unit
Deletes all configured build step conditions |
|
fun conditions(init: BuildStepConditions.() -> Unit = {}): Unit
Configures build step conditions |
|
open fun create(): BuildStep
Creates an instance of this build step via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor. |
|
open fun toString(): String |