jetbrains.buildServer.configs.kotlin.v2018_2 / ArtifactRule

ArtifactRule

data class ArtifactRule

A rule specifying how to copy artifacts from dependency. Use methods of the companion object to create it.

Constructors

<init>

ArtifactRule(include: Boolean, src: String, dst: String?)

A rule specifying how to copy artifacts from dependency. Use methods of the companion object to create it.

Properties

dst

val dst: String?

include

val include: Boolean

src

val src: String

Functions

asString

fun asString(): String

Companion Object Functions

exclude

fun exclude(excludeLocation: String): ArtifactRule

Creates a rule excluding the artifacts in the specified location

include

fun include(src: String): ArtifactRule

Creates an include rule copying the artifact from the specified src path to the same destination

fun include(src: String, dst: String): ArtifactRule

Creates an include rule copying the artifact from the specified src path to the given destination

parse

fun parse(s: String): List<ArtifactRule>