diff --git a/Package.swift b/Package.swift index 1f69da23dc9..bc4a3419751 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.5 +// swift-tools-version:5.7 //===----------------------------------------------------------------------===// // @@ -701,7 +701,7 @@ let relatedDependenciesBranch = "main" if ProcessInfo.processInfo.environment["SWIFTPM_LLBUILD_FWK"] == nil { if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil { package.dependencies += [ - .package(url: "https://github.com/apple/swift-llbuild.git", .branch(relatedDependenciesBranch)), + .package(url: "https://github.com/apple/swift-llbuild.git", branch: relatedDependenciesBranch), ] } else { // In Swift CI, use a local path to llbuild to interoperate with tools @@ -715,12 +715,12 @@ if ProcessInfo.processInfo.environment["SWIFTPM_LLBUILD_FWK"] == nil { if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil { package.dependencies += [ - .package(url: "https://github.com/apple/swift-tools-support-core.git", .branch(relatedDependenciesBranch)), + .package(url: "https://github.com/apple/swift-tools-support-core.git", branch: relatedDependenciesBranch), // The 'swift-argument-parser' version declared here must match that // used by 'swift-driver' and 'sourcekit-lsp'. Please coordinate // dependency version changes here with those projects. .package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "1.2.2")), - .package(url: "https://github.com/apple/swift-driver.git", .branch(relatedDependenciesBranch)), + .package(url: "https://github.com/apple/swift-driver.git", branch: relatedDependenciesBranch), .package(url: "https://github.com/apple/swift-crypto.git", .upToNextMinor(from: "2.3.0")), .package(url: "https://github.com/apple/swift-system.git", .upToNextMinor(from: "1.1.1")), .package(url: "https://github.com/apple/swift-collections.git", .upToNextMinor(from: "1.0.1")),