-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Add Klarna Dependency to Package.swift #1053
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,42 +6,44 @@ let package = Package( | |
name: "PrimerSDK", | ||
defaultLocalization: "en", | ||
platforms: [ | ||
.iOS("13.1") | ||
.iOS("13.1"), | ||
], | ||
products: [ | ||
.library( | ||
name: "PrimerSDK", | ||
targets: ["PrimerSDK"] | ||
) | ||
), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/primer-io/primer-sdk-3ds-ios", from: "2.4.1") | ||
.package(url: "https://github.com/primer-io/primer-sdk-3ds-ios", from: "2.4.1"), | ||
.package(url: "https://github.com/primer-io/primer-klarna-sdk-ios", from: "1.1.2"), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
], | ||
targets: [ | ||
.target( | ||
name: "PrimerSDK", | ||
dependencies: [ | ||
.product(name: "Primer3DS", package: "primer-sdk-3ds-ios") | ||
.product(name: "Primer3DS", package: "primer-sdk-3ds-ios"), | ||
.product(name: "PrimerKlarnaSDK", package: "primer-klarna-sdk-ios"), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
], | ||
path: "Sources/PrimerSDK", | ||
resources: [ | ||
.process("Resources"), | ||
.copy("Classes/Third Party/PromiseKit/LICENSE") | ||
.copy("Classes/Third Party/PromiseKit/LICENSE"), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
] | ||
), | ||
.testTarget( | ||
name: "Tests", | ||
dependencies: [ | ||
.product(name: "Primer3DS", package: "primer-sdk-3ds-ios"), | ||
.byName(name: "PrimerSDK") | ||
.byName(name: "PrimerSDK"), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
], | ||
path: "Tests/", | ||
sources: [ | ||
"3DS/", | ||
"Utilities/", | ||
"Primer/" | ||
"Primer/", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
] | ||
) | ||
), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
], | ||
swiftLanguageVersions: [.v5] | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trailing_comma
)