-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPackage.swift
41 lines (36 loc) · 984 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
29
30
31
32
33
34
35
36
37
38
39
40
41
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "ADPhotoKit",
defaultLocalization: "en",
platforms: [
.iOS(.v10)
],
products: [
.library(
name: "ADPhotoKit",
targets: ["ADPhotoKit"])
],
dependencies: [
.package(url: "https://github.com/SnapKit/SnapKit", .upToNextMajor(from: "5.0.1")),
.package(url: "https://github.com/onevcat/Kingfisher", from: "6.0.0")
],
targets: [
.target(
name: "ADPhotoKit",
dependencies: [
"SnapKit","Kingfisher"
],
path: "ADPhotoKit",
resources: [
.process("Assets/")
],
swiftSettings: [
.define("Module_Core"),
.define("Module_UI"),
.define("Module_ImageEdit"),
.define("Module_VideoEdit")
]
)
]
)