-
Notifications
You must be signed in to change notification settings - Fork 38
/
Package.swift
55 lines (52 loc) · 1.96 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "OBAKit",
defaultLocalization: "en",
platforms: [
.iOS(.v14)
],
products: [
.library(name: "OBAKit", targets: ["OBAKit"]),
.library(name: "OBAKitCore", targets: ["OBAKitCore"]),
],
dependencies: [
.package(name: "BLTNBoard", url: "https://github.com/alexaubry/BulletinBoard.git", .exact("5.0.0")),
.package(url: "https://github.com/CocoaLumberjack/CocoaLumberjack.git", .exact("3.7.2")),
.package(url: "https://github.com/xmartlabs/Eureka.git", .exact("5.3.3")),
.package(url: "https://github.com/SCENEE/FloatingPanel.git", .exact("1.7.6")),
.package(url: "https://github.com/rwbutler/Hyperconnectivity.git", .exact("1.1.0")),
.package(url: "https://github.com/cbpowell/MarqueeLabel.git", .exact("4.0.5")),
.package(name: "SwiftProtobuf", url: "https://github.com/apple/swift-protobuf.git", from: "1.17.0")
],
targets: [
.target(
name: "OBAKit",
dependencies: [
"BLTNBoard",
"Eureka",
"FloatingPanel",
"Hyperconnectivity",
"MarqueeLabel",
"OBAKitCore"
],
path: "OBAKit",
exclude: ["Info.plist", "project.yml"],
resources: [
.copy("Settings/OBAKit_Credits.plist"),
.copy("Theme/OBAKit.xcassets")
]
),
.target(
name: "OBAKitCore",
dependencies: [
"CocoaLumberjack",
.product(name: "CocoaLumberjackSwift", package: "CocoaLumberjack"),
"SwiftProtobuf"
],
path: "OBAKitCore",
exclude: ["Info.plist", "Models/Protobuf/gtfs-realtime.proto", "project.yml"]
)
]
)