Skip to content

Commit 030a6c0

Browse files
committed
fix plugin package
1 parent 71c6a89 commit 030a6c0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Package.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ let package = Package(
145145
dependencies: [
146146
.product(name: "NIOHTTP1", package: "swift-nio"),
147147
.product(name: "NIOCore", package: "swift-nio"),
148-
]
148+
],
149+
swiftSettings: defaultSwiftSettings
149150
),
150151
.testTarget(
151152
name: "AWSLambdaRuntimeTests",
@@ -173,7 +174,8 @@ let package = Package(
173174
dependencies: [
174175
.byName(name: "AWSLambdaPluginHelper"),
175176
.product(name: "Logging", package: "swift-log"),
176-
]
177+
],
178+
swiftSettings: defaultSwiftSettings
177179
),
178180

179181
]

Sources/AWSLambdaPluginHelper/AWSLambdaPluginHelper.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
//===----------------------------------------------------------------------===//
1515

1616
@main
17+
@available(LambdaSwift 2.0, *)
1718
struct AWSLambdaPluginHelper {
1819

1920
private enum Command: String {

0 commit comments

Comments
 (0)