Update dependencies (#4702)
This commit is contained in:
parent
fbd9f16955
commit
dc228d57ac
|
@ -14,8 +14,8 @@
|
|||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/jpsim/SourceKitten.git",
|
||||
"state" : {
|
||||
"revision" : "fc12c0f182c5cf80781dd933b17a82eb98bd7c61",
|
||||
"version" : "0.33.1"
|
||||
"revision" : "f403b5cdbaa1748fe74da47915013fe058166e03",
|
||||
"version" : "0.34.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -23,8 +23,8 @@
|
|||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/apple/swift-argument-parser.git",
|
||||
"state" : {
|
||||
"revision" : "fddd1c00396eed152c45a46bea9f47b98e59301d",
|
||||
"version" : "1.2.0"
|
||||
"revision" : "4ad606ba5d7673ea60679a61ff867cc1ff8c8e86",
|
||||
"version" : "1.2.1"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -59,8 +59,8 @@
|
|||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/jpsim/Yams.git",
|
||||
"state" : {
|
||||
"revision" : "01835dc202670b5bb90d07f3eae41867e9ed29f6",
|
||||
"version" : "5.0.1"
|
||||
"revision" : "c7facc5ccb8c5a4577ea8c491aa875762cdee57a",
|
||||
"version" : "5.0.3"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
|
@ -29,10 +29,10 @@ let package = Package(
|
|||
.plugin(name: "SwiftLintPlugin", targets: ["SwiftLintPlugin"])
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "1.2.0")),
|
||||
.package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "1.2.1")),
|
||||
.package(url: "https://github.com/apple/swift-syntax.git", exact: "0.50800.0-SNAPSHOT-2022-12-29-a"),
|
||||
.package(url: "https://github.com/jpsim/SourceKitten.git", .upToNextMinor(from: "0.33.1")),
|
||||
.package(url: "https://github.com/jpsim/Yams.git", from: "5.0.1"),
|
||||
.package(url: "https://github.com/jpsim/SourceKitten.git", .upToNextMinor(from: "0.34.0")),
|
||||
.package(url: "https://github.com/jpsim/Yams.git", from: "5.0.3"),
|
||||
.package(url: "https://github.com/scottrhoyt/SwiftyTextTable.git", from: "0.9.0"),
|
||||
.package(url: "https://github.com/JohnSundell/CollectionConcurrencyKit.git", from: "0.2.0")
|
||||
] + (addCryptoSwift ? [.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMinor(from: "1.6.0"))] : []),
|
||||
|
|
|
@ -188,7 +188,7 @@ private extension SwiftDeclarationKind {
|
|||
.functionMethodInstance, .functionMethodStatic, .functionOperator, .functionOperatorInfix,
|
||||
.functionOperatorPostfix, .functionOperatorPrefix, .functionSubscript, .protocol, .opaqueType:
|
||||
return true
|
||||
case .class, .enum, .extension, .extensionClass, .extensionEnum,
|
||||
case .actor, .class, .enum, .extension, .extensionClass, .extensionEnum,
|
||||
.extensionProtocol, .extensionStruct, .struct:
|
||||
return false
|
||||
}
|
||||
|
|
10
WORKSPACE
10
WORKSPACE
|
@ -15,15 +15,21 @@ load(
|
|||
|
||||
apple_rules_dependencies()
|
||||
|
||||
http_archive(
|
||||
name = "rules_swift",
|
||||
sha256 = "84e2cc1c9e3593ae2c0aa4c773bceeb63c2d04c02a74a6e30c1961684d235593",
|
||||
url = "https://github.com/bazelbuild/rules_swift/releases/download/1.5.1/rules_swift.1.5.1.tar.gz",
|
||||
)
|
||||
|
||||
load(
|
||||
"@build_bazel_rules_swift//swift:repositories.bzl",
|
||||
"@rules_swift//swift:repositories.bzl",
|
||||
"swift_rules_dependencies",
|
||||
)
|
||||
|
||||
swift_rules_dependencies()
|
||||
|
||||
load(
|
||||
"@build_bazel_rules_swift//swift:extras.bzl",
|
||||
"@rules_swift//swift:extras.bzl",
|
||||
"swift_rules_extra_dependencies",
|
||||
)
|
||||
|
||||
|
|
|
@ -4,9 +4,9 @@ def swiftlint_repos():
|
|||
"""Fetches SwiftLint repositories"""
|
||||
http_archive(
|
||||
name = "com_github_jpsim_sourcekitten",
|
||||
sha256 = "bb200a812f46caa58814a655140e5088225925179bf587901ac62a897341d179",
|
||||
strip_prefix = "SourceKitten-0.33.1",
|
||||
url = "https://github.com/jpsim/SourceKitten/archive/refs/tags/0.33.1.tar.gz",
|
||||
sha256 = "7a38debb93ef11504f6b6a776be598095591fae7e128263754d041c5ada8e856",
|
||||
strip_prefix = "SourceKitten-0.34.0",
|
||||
url = "https://github.com/jpsim/SourceKitten/archive/refs/tags/0.34.0.tar.gz",
|
||||
)
|
||||
|
||||
http_archive(
|
||||
|
|
Loading…
Reference in New Issue