-
Notifications
You must be signed in to change notification settings - Fork 4
/
Package.swift
24 lines (23 loc) · 989 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
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "OkLog",
platforms: [
.macOS(.v10_10),
.iOS(.v8)
],
products: [
.library(name: "OkLog", targets: ["OkLog"]),
.library(name: "OkLogAlamofire", targets: ["OkLogAlamofire"]),
],
dependencies: [
.package(url: "https://github.com/Alamofire/Alamofire.git", .upToNextMajor(from: "4.1.0")),
.package(url: "https://github.com/apple/swift-protobuf.git", .upToNextMajor(from: "1.6.0")),
.package(url: "https://github.com/1024jp/GzipSwift.git", .upToNextMajor(from: "5.0.0")),
],
targets: [
.target(name: "OkLog", dependencies: ["SwiftProtobuf", "Gzip"], path: "Sources/Core", exclude: ["Protos", "Example"]),
.target(name: "OkLogAlamofire", dependencies: ["OkLog", "Alamofire"], path: "Sources/Alamofire", exclude: ["Protos", "Example"]),
.testTarget(name: "OkLogTests", dependencies: ["OkLog"]),
]
)