forked from yeatse/KingfisherWebP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
28 lines (26 loc) · 897 Bytes
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// swift-tools-version:5.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "KingfisherWebP",
platforms: [.iOS(.v12), .tvOS(.v12), .watchOS(.v5), .macOS(.v10_14)],
products: [
.library(name: "KingfisherWebP", targets: ["KingfisherWebP"])
],
dependencies: [
.package(url: "https://github.com/onevcat/Kingfisher.git", from: "7.8.1"),
.package(url: "https://github.com/SDWebImage/libwebp-Xcode", from: "1.1.0")
],
targets: [
.target(
name: "KingfisherWebP",
dependencies: ["Kingfisher", "KingfisherWebP-ObjC"],
path: "Sources",
exclude: ["KingfisherWebP-ObjC"]
),
.target(
name: "KingfisherWebP-ObjC",
dependencies: ["libwebp"]
)
]
)