open class NuGetPackStep : BuildStep
A NuGet pack step to run nuget pack command
See Also
sealed class BaseDir : CompoundParam<BaseDir> |
NuGetPackStep(init: NuGetPackStep.() -> Unit) NuGetPackStep()
A NuGet pack step to run nuget pack command |
var args: String?
Enter additional parameters to use when calling nuget pack command. |
|
var baseDir: BaseDir?
The -BaseDirectory parameter value. Leave blank to use the build checkout directory |
|
var cleanOutputDir: Boolean?
Clean output directory |
|
var excludePaths: String?
Exclude files when creating a package. |
|
var includeSymbols: Boolean?
Include sources and symbols. |
|
var outputDir: String?
The path to the output directory for generated NuGet packages. |
|
var paths: String?
Specify paths to .nuspec files and/or to project files. |
|
var preferProjectPaths: Boolean?
Use the project file (if exists, i.e. .csproj or .vbproj) for every matched .nuspec file. |
|
var properties: String?
A semicolon or a newline-separated list of package creation properties. |
|
var publishPackages: Boolean?
Publish created packages to build artifacts |
|
var toolPackage: Boolean?
Create tool package. |
|
var toolPath: String?
Specify path to NuGet.exe. |
|
var version: String?
Overrides the version number from the .nuspec file. |
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 customPath(init: CustomPath.() -> Unit = {}): CustomPath |
|
fun projectPath(): ProjectPath
Use project/.nuspec directory. |
|
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 |