-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy pathPackage.swift
More file actions
45 lines (44 loc) · 1.18 KB
/
Package.swift
File metadata and controls
45 lines (44 loc) · 1.18 KB
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
42
43
44
45
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "Dimina",
platforms: [
.iOS(.v14)
],
products: [
.library(
name: "Dimina",
targets: ["Dimina"]
)
],
dependencies: [
.package(url: "https://github.com/Alamofire/Alamofire.git", exact: "5.12.0"),
.package(url: "https://github.com/Tencent/MMKV.git", exact: "2.4.0"),
.package(url: "https://github.com/weichsel/ZIPFoundation.git", exact: "0.9.20"),
],
targets: [
.target(
name: "Dimina",
dependencies: [
"Alamofire",
"MMKV",
"ZIPFoundation",
],
path: "iOS/dimina",
exclude: [
"ContentView.swift",
"diminaApp.swift",
"Assets.xcassets",
"Preview Content",
],
sources: [
"DiminaKit"
],
resources: [
.process("Resources/Assets.xcassets"),
.copy("Resources/JsApp.bundle"),
.copy("Resources/JsSdk.bundle"),
]
)
]
)