-
Notifications
You must be signed in to change notification settings - Fork 15
/
Package.swift
39 lines (37 loc) · 1.2 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
// swift-tools-version:5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
var package = Package(
name: "OktaIdx",
defaultLocalization: "en",
platforms: [
.iOS(.v10),
.tvOS(.v10),
.watchOS(.v7),
.macOS(.v10_12),
.macCatalyst(.v13)
],
products: [
.library(name: "OktaIdx", targets: ["OktaIdx"])
],
dependencies: [
.package(url: "https://github.com/okta/okta-mobile-swift",
from: "1.8.2"),
.package(url: "https://github.com/apple/swift-docc-plugin",
from: "1.0.0")
],
targets: [
.target(name: "OktaIdx",
dependencies: [
.product(name: "AuthFoundation", package: "okta-mobile-swift")
],
resources: [.process("Resources")]),
.target(name: "TestCommon",
dependencies: ["OktaIdx"],
path: "Tests/TestCommon"),
.testTarget(name: "OktaIdxTests",
dependencies: ["OktaIdx", "TestCommon"],
resources: [.copy("SampleResponses")])
],
swiftLanguageVersions: [.v5]
)