Structure
BuildAction.Options
Configuration options for the build action.
struct OptionsTopics
Initializers
init(from: any Decoder) throwsinit(scheme: String?, configuration: BuildAction.BuildConfiguration?, workspace: String?, project: String?, derivedDataPath: String?, xcargs: [String : String]?, clean: Bool?, module: String?, buildVariant: String?, flavor: String?, gradleProperties: [String : String]?, scope: GradleTaskScope?)Creates
Optionsfor the build action.
Instance Properties
var buildVariant: String?Gradle build variant (e.g.
"release","debug"). (Android only)var clean: Bool?Whether to clean before building.
var configuration: BuildAction.BuildConfiguration?Build configuration (e.g.
Release,Debug). Default:Release.var derivedDataPath: String?Path to derived data directory. (iOS only)
var flavor: String?Product flavor (e.g.
"free","paid"). Combined withbuildVariant. (Android only)var gradleProperties: [String : String]?Additional Gradle
-Pproperties. (Android only)var module: String?Gradle module name (e.g.
"app"). Overridesconfig.androidModule. (Android only) For KMP iOS, this is the shared framework module. Defaults toconfig.kmpSharedModule.var project: String?Path to the Xcode project (used if
workspaceis nil). (iOS only)var scheme: String?Xcode scheme to build. Overrides
config.appScheme. (iOS only)var scope: GradleTaskScope?Gradle task scope —
module(default) qualifies the task with the module name,rootruns the task at the project root across all modules. (Android only)var workspace: String?Path to the Xcode workspace. (iOS only)
var xcargs: [String : String]?Additional xcargs (key=value pairs). (iOS only)
Relationships
Conforms To
Swift.DecodableSwift.EncodableSwift.SendableSwift.SendableMetatype