@@ -44,25 +44,25 @@ public final class BuildRequestContext: Sendable {
4444 }
4545
4646 /// Get the cached settings for the given parameters, without considering the context of any project/target.
47- public func getCachedSettings( _ parameters: BuildParameters ) -> Settings {
47+ package func getCachedSettings( _ parameters: BuildParameters ) -> Settings {
4848 workspaceContext. workspaceSettingsCache. getCachedSettings ( parameters, buildRequestContext: self , purpose: . build, filesSignature: filesSignature ( for: ) )
4949 }
5050
5151 /// Get the cached settings for the given parameters and project.
52- public func getCachedSettings( _ parameters: BuildParameters , project: Project , purpose: SettingsPurpose = . build, provisioningTaskInputs: ProvisioningTaskInputs ? = nil , impartedBuildProperties : [ ImpartedBuildProperties ] ? = nil ) -> Settings {
53- getCachedSettings ( parameters, project: project, target: nil , purpose: purpose, provisioningTaskInputs: provisioningTaskInputs, impartedBuildProperties: impartedBuildProperties )
52+ package func getCachedSettings( _ parameters: BuildParameters , project: Project , purpose: SettingsPurpose = . build, provisioningTaskInputs: ProvisioningTaskInputs ? = nil ) -> Settings {
53+ getCachedSettings ( parameters, project: project, target: nil , purpose: purpose, provisioningTaskInputs: provisioningTaskInputs, impartedBuildProperties: nil , artifactBundleInfo : nil )
5454 }
5555
5656 /// Get the cached settings for the given parameters and target.
57- public func getCachedSettings( _ parameters: BuildParameters , target: Target , purpose: SettingsPurpose = . build, provisioningTaskInputs: ProvisioningTaskInputs ? = nil , impartedBuildProperties: [ ImpartedBuildProperties ] ? = nil ) -> Settings {
58- getCachedSettings ( parameters, project: workspaceContext. workspace. project ( for: target) , target: target, purpose: purpose, provisioningTaskInputs: provisioningTaskInputs, impartedBuildProperties: impartedBuildProperties)
57+ package func getCachedSettings( _ parameters: BuildParameters , target: Target , purpose: SettingsPurpose = . build, provisioningTaskInputs: ProvisioningTaskInputs ? = nil , impartedBuildProperties: [ ImpartedBuildProperties ] ? = nil , artifactBundleInfo : [ ArtifactBundleInfo ] ? = nil ) -> Settings {
58+ getCachedSettings ( parameters, project: workspaceContext. workspace. project ( for: target) , target: target, purpose: purpose, provisioningTaskInputs: provisioningTaskInputs, impartedBuildProperties: impartedBuildProperties, artifactBundleInfo : artifactBundleInfo )
5959 }
6060
6161 /// Private method to get the cached settings for the given parameters, project, and target.
6262 ///
6363 /// - remark: This is private so that clients don't somehow call this with a project which doesn't match the target. There are public methods covering this one.
64- private func getCachedSettings( _ parameters: BuildParameters , project: Project , target: Target ? , purpose: SettingsPurpose = . build, provisioningTaskInputs: ProvisioningTaskInputs ? , impartedBuildProperties: [ ImpartedBuildProperties ] ? ) -> Settings {
65- workspaceContext. workspaceSettingsCache. getCachedSettings ( parameters, project: project, target: target, purpose: purpose, provisioningTaskInputs: provisioningTaskInputs, impartedBuildProperties: impartedBuildProperties, buildRequestContext: self , filesSignature: filesSignature ( for: ) )
64+ private func getCachedSettings( _ parameters: BuildParameters , project: Project , target: Target ? , purpose: SettingsPurpose = . build, provisioningTaskInputs: ProvisioningTaskInputs ? , impartedBuildProperties: [ ImpartedBuildProperties ] ? , artifactBundleInfo : [ ArtifactBundleInfo ] ? ) -> Settings {
65+ workspaceContext. workspaceSettingsCache. getCachedSettings ( parameters, project: project, target: target, purpose: purpose, provisioningTaskInputs: provisioningTaskInputs, impartedBuildProperties: impartedBuildProperties, artifactBundleInfo : artifactBundleInfo , buildRequestContext: self , filesSignature: filesSignature ( for: ) )
6666 }
6767
6868 @_spi ( Testing) public func getCachedMacroConfigFile( _ path: Path , project: Project ? = nil , context: MacroConfigLoadContext ) -> MacroConfigInfo {
0 commit comments