PluginParameters
Gradle extension to configure the plugin parameters.
Parameters are ordered below from most to least commonly configured.
Properties
Auto export generated files to Xcode project on every build. By default, SPM export, this keeps the local Swift Package at [iosAppFolderName]/[exportFolderName]/ in sync with the KSP output. When legacyMode is true, it instead copies the files directly and updates project.pbxproj. If set to false, neither happens, and you will find the generated files under /build/generated/ksp/. Warning: avoid deleting [iosAppFolderName]/[exportFolderName] without first using Xcode to Remove references, when using legacy mode.
Name of the folder inside the iOS project (iosAppFolderName) that holds the generated files when autoExport is true. By default, (SPM export) this is the local Swift Package folder — containing Package.swift and Sources/[exportFolderName]/ — created by createRepresentablesPackage and kept in sync on every build. When legacyMode is true, the generated UIViewControllerRepresentable files are copied directly into this folder instead.
Name of the folder containing the iosApp in the root's project tree
Name of the iOS project (name.xcodeproj)
Minimum iOS deployment target for the generated SPM package. Not used when legacyMode is true.
When true, falls back to the previous xcodeproj-gem-based export instead of the default local SPM package at [iosAppFolderName]/[exportFolderName]/. Kept for projects that can't yet use SPM — new projects should not need this.
Swift tools version declared in the generated Package.swift. Not used when legacyMode is true.
Name of the iOS project's target