Instance Propertyswift-package-manager 6.0.1PackagePlugin
id
PackageModel.swift:257let id: ID
let id: ID
import PackagePlugin
struct SwiftSourceModuleTarget
Represents a target consisting of a source code module compiled using Swift.
typealias ID = String
let compilationConditions: [String]
Any custom compilation conditions specified for the Swift target in the package manifest.
let dependencies: [TargetDependency]
let directoryURL: URL
The absolute path of the target directory in the local file system.
let kind: ModuleKind
let linkedFrameworks: [String]
let linkedLibraries: [String]
let moduleName: String
let name: String
let pluginGeneratedResources: [URL]
Paths of any resources generated by other plugins that have been applied to the given target before the plugin currently being executed.
let pluginGeneratedSources: [URL]
Paths of any sources generated by other plugins that have been applied to the given target before the plugin currently being executed.
let sourceFiles: FileList
let directory: Path