-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
41 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,56 @@ | ||
// swift-tools-version:5.9 | ||
// swift-tools-version: 5.9 | ||
// This is a Skip (https://skip.tools) package, | ||
// containing a Swift Package Manager project | ||
// that will use the Skip build plugin to transpile the | ||
// Swift Package, Sources, and Tests into an | ||
// Android Gradle Project with Kotlin sources and JUnit tests. | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "SkipRevenueCat", | ||
name: "skip-revenuecat", | ||
defaultLocalization: "en", | ||
platforms: [.iOS(.v16), .macOS(.v13)], | ||
products: [ | ||
.library( | ||
name: "SkipRevenueCat", | ||
targets: ["SkipRevenueCat"]), | ||
.library(name: "SkipRevenueCat", targets: [ | ||
"SkipRevenueCat", | ||
"SkipRevenueCatLibrary" | ||
]), | ||
], | ||
dependencies: [ | ||
.package(path: "skip-revenuecat"), | ||
.package(url: "https://source.skip.tools/skip.git", from: "1.1.6"), | ||
.package(url: "https://source.skip.tools/skip-foundation.git", from: "1.0.0"), | ||
.package(url: "https://github.com/RevenueCat/purchases-hybrid-common.git", exact: "13.3.0") | ||
], | ||
targets: [ | ||
.target( | ||
name: "SkipRevenueCat", | ||
dependencies: [ | ||
"skip-revenuecat", | ||
] | ||
), | ||
.product(name: "SkipFoundation", package: "skip-foundation"), | ||
.product(name: "PurchasesHybridCommon", package: "purchases-hybrid-common"), | ||
.product(name: "PurchasesHybridCommonUI", package: "purchases-hybrid-common"), | ||
"SkipRevenueCatLibrary" | ||
], | ||
resources: [.process("Resources")], | ||
plugins: [.plugin(name: "skipstone", package: "skip")] | ||
), | ||
// .binaryTarget( | ||
// name: "SkipRevenueCatLibrary", | ||
// path: "./skip-revenuecat-library/skip-revenuecat-library/build/XCFrameworks/release/SkipRevenueCatLibrary.xcframework" | ||
// ), | ||
.binaryTarget( | ||
name: "SkipRevenueCatLibrary", | ||
url: "https://api.github.com/repos/aduryagin/skip-revenuecat/releases/assets/196665472.zip", | ||
checksum: "f26f419120d63a53a4906b65a1fb6fdfde26fe89e4634c9d4f989cefa02c82b4" | ||
), | ||
|
||
.testTarget( | ||
name: "SkipRevenueCatTests", | ||
dependencies: ["SkipRevenueCat"] | ||
), | ||
dependencies: [ | ||
"SkipRevenueCat", | ||
.product(name: "SkipTest", package: "skip") | ||
], | ||
resources: [.process("Resources")], | ||
plugins: [.plugin(name: "skipstone", package: "skip")] | ||
) | ||
] | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.