Package.swift 563 B

1234567891011121314151617181920212223
  1. // swift-tools-version:5.1
  2. import PackageDescription
  3. let package = Package(
  4. name: "Kingfisher",
  5. platforms: [.iOS(.v12), .macOS(.v10_14), .tvOS(.v12), .watchOS(.v5)],
  6. products: [
  7. .library(name: "Kingfisher", targets: ["Kingfisher"])
  8. ],
  9. targets: [
  10. .target(
  11. name: "Kingfisher",
  12. path: "Sources"
  13. )
  14. ]
  15. )
  16. #if swift(>=5.6)
  17. // Add the documentation compiler plugin if possible
  18. package.dependencies.append(
  19. .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
  20. )
  21. #endif