forked from levi/OpenCastSwift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
27 lines (26 loc) · 866 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
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "OpenCastSwift",
platforms: [
.iOS(.v10),
.macOS(.v10_12),
],
products: [
.library(name: "OpenCastSwift", targets: ["ChromeCastCore", "CASTV2PlatformReader"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-protobuf.git", .upToNextMajor(from: "1.7.0")),
.package(url: "https://github.com/SwiftyJSON/SwiftyJSON.git", .upToNextMajor(from: "5.0.0"))
],
targets: [
.target(
name: "ChromeCastCore",
dependencies: ["SwiftProtobuf", "CASTV2PlatformReader"],
path: "ChromeCastCore",
exclude: ["PlatformReader.swift"]
),
.target(name: "CASTV2PlatformReader", path: "CASTV2PlatformReader")
],
swiftLanguageVersions: [.v4]
)