| 1234567891011121314151617181920212223 |
- // swift-tools-version:5.1
- import PackageDescription
- let package = Package(
- name: "Kingfisher",
- platforms: [.iOS(.v12), .macOS(.v10_14), .tvOS(.v12), .watchOS(.v5)],
- products: [
- .library(name: "Kingfisher", targets: ["Kingfisher"])
- ],
- targets: [
- .target(
- name: "Kingfisher",
- path: "Sources"
- )
- ]
- )
- #if swift(>=5.6)
- // Add the documentation compiler plugin if possible
- package.dependencies.append(
- .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
- )
- #endif
|