-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
50 lines (43 loc) · 2.14 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
// swift-tools-version: 5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
struct PackageMetadata {
static let version: String = "0.9.40"
static let checksum: String = "2f143f1b833149da41e614d69fd6b1313c516512dacd325af7c32f2540b1435a"
}
let package = Package(
name: "SRAVVPlayer",
defaultLocalization: "en",
platforms: [
.iOS(.v14)
],
products: [
.library(name: "SRAVVPlayer", targets: ["SRAVVPlayerTarget"])
],
dependencies: [
.package(url: "https://github.com/yahoojapan/SwiftyXMLParser.git", .upToNextMajor(from: "5.6.0")),
.package(url: "https://github.com/SDWebImage/SDWebImage.git", .upToNextMajor(from: "5.19.0")),
.package(url: "https://github.com/googleads/swift-package-manager-google-interactive-media-ads-ios", .upToNextMajor(from: "3.22.1")),
.package(url: "https://github.com/ReactiveX/RxSwift", .upToNextMajor(from: "6.7.0")),
],
targets: [
.target(name: "SRAVVPlayerTarget",
dependencies: [ .target(name: "SRAVVPlayer_Binary"),
.target(name: "GoogleCast"),
.product(name: "GoogleInteractiveMediaAds", package: "swift-package-manager-google-interactive-media-ads-ios"),
.product(name: "SDWebImage", package: "SDWebImage"),
.product(name: "SwiftyXMLParser", package: "SwiftyXMLParser"),
.product(name: "RxSwift", package: "RxSwift"),
.product(name: "RxCocoa", package: "RxSwift"),
]),
.binaryTarget(
name: "SRAVVPlayer_Binary",
url: "https://github.com/sportradar/SR_AVVPlayer_iOS/releases/download/\(PackageMetadata.version)/AVVPlayer-MARVIN_iOS-0.9.40_81_static.zip",
checksum: PackageMetadata.checksum
),
.binaryTarget(
name: "GoogleCast",
path: "ThirdParty/GoogleCast/4.8.1/GoogleCast.zip"
)
]
)