ExportProfileBuilder

class ExportProfileBuilder(val name: String, val fileExtension: String = "zip", val requiresPlatform: Platform? = null, val builder: ExportProfileBuilder.() -> Unit) : ExportRuleScope

Constructors

Link copied to clipboard
constructor(name: String, fileExtension: String = "zip", requiresPlatform: Platform? = null, builder: ExportProfileBuilder.() -> Unit)

Properties

Link copied to clipboard
Link copied to clipboard
open lateinit override var configFile: ConfigFile

The config file associated with the exporting scope.

Link copied to clipboard
Link copied to clipboard
open lateinit override var lockFile: LockFile

The lock file associated with the exporting scope.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val rules: <Error class: unknown class>

Functions

Link copied to clipboard
fun ExportRuleScope.autoPackDirectorRule(excludedProviders: Set<Provider> = setOf(), fileDirectorModel: FileDirectorModel = FileDirectorModel()): ExportRule?
Link copied to clipboard
fun build(exportRuleScope: ExportRuleScope): ExportProfile
Link copied to clipboard
Link copied to clipboard
fun ExportRuleScope.fileDirectorRule(excludedProviders: Set<Provider> = setOf(), fileDirectorModel: FileDirectorModel = FileDirectorModel()): ExportRule?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Adds an optional export rule to the profile.

Link copied to clipboard
infix fun ExportRule?.orElse(exportRule: (ExportRuleScope) -> ExportRule?): ExportRule?

Provides a fallback mechanism when an optional rule is null.

Link copied to clipboard
fun rule(exportRule: (ExportRuleScope) -> ExportRule): ExportRule

Adds an export rule to the profile.