Skip to content

Commit d1b1044

Browse files
committed
Breaking subspecs into their own libraries in order to limit transitive dependencies.
1 parent a618cdb commit d1b1044

File tree

1 file changed

+29
-10
lines changed

1 file changed

+29
-10
lines changed

Package.swift

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,36 @@ let package = Package(
1414
// Products define the executables and libraries produced by a package, and make them visible to other packages.
1515
.library(
1616
name: "UIKitBase",
17-
targets: [
18-
"UIKitBase",
19-
"UIKitAuthentication",
20-
"UIKitLocation",
21-
"UIKitForms",
22-
// "UIKitAuthenticationForms",
23-
"UIKitDateFields",
24-
"UIKitLegalDisclosureView",
25-
// "UIKitLocationForms",
26-
]
17+
targets: ["UIKitBase"]
18+
),
19+
.library(
20+
name: "UIKitAuthentication",
21+
targets: ["UIKitAuthentication"]
22+
),
23+
.library(
24+
name: "UIKitLocation",
25+
targets: ["UIKitLocation"]
26+
),
27+
.library(
28+
name: "UIKitForms",
29+
targets: ["UIKitForms"]
2730
),
31+
// .library(
32+
// name: "UIKitAuthenticationForms",
33+
// targets: ["UIKitAuthenticationForms"]
34+
// ),
35+
.library(
36+
name: "UIKitDateFields",
37+
targets: ["UIKitDateFields"]
38+
),
39+
.library(
40+
name: "UIKitLegalDisclosureView",
41+
targets: ["UIKitLegalDisclosureView"]
42+
),
43+
// .library(
44+
// name: "UIKitLocationForms",
45+
// targets: ["UIKitLocationForms"]
46+
// )
2847
],
2948
dependencies: [
3049
// // Internal packages

0 commit comments

Comments
 (0)