diff --git a/Package.swift b/Package.swift index 36a72ea..a287d8b 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.9 +// swift-tools-version:6.0 // // This source file is part of the Stanford Spezi open-source project @@ -12,13 +12,6 @@ import class Foundation.ProcessInfo import PackageDescription -#if swift(<6) -let swiftConcurrency: SwiftSetting = .enableExperimentalFeature("StrictConcurrency") -#else -let swiftConcurrency: SwiftSetting = .enableUpcomingFeature("StrictConcurrency") -#endif - - let package = Package( name: "SpeziStorage", platforms: [ @@ -32,7 +25,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/StanfordSpezi/Spezi", from: "1.7.3"), - .package(url: "https://github.com/StanfordSpezi/SpeziFoundation", from: "2.0.0-beta.2"), + .package(url: "https://github.com/StanfordSpezi/SpeziFoundation", from: "2.0.0"), .package(url: "https://github.com/StanfordBDHG/XCTRuntimeAssertions", from: "1.1.1") ] + swiftLintPackage(), targets: [ @@ -43,9 +36,6 @@ let package = Package( .product(name: "SpeziFoundation", package: "SpeziFoundation"), .target(name: "SpeziSecureStorage") ], - swiftSettings: [ - swiftConcurrency - ], plugins: [] + swiftLintPlugin() ), .testTarget( @@ -54,9 +44,6 @@ let package = Package( .target(name: "SpeziLocalStorage"), .product(name: "XCTSpezi", package: "Spezi") ], - swiftSettings: [ - swiftConcurrency - ], plugins: [] + swiftLintPlugin() ), .target( @@ -65,9 +52,6 @@ let package = Package( .product(name: "Spezi", package: "Spezi"), .product(name: "XCTRuntimeAssertions", package: "XCTRuntimeAssertions") ], - swiftSettings: [ - swiftConcurrency - ], plugins: [] + swiftLintPlugin() ) ]