Skip to content

Commit b92a77d

Browse files
committed
Add Swift Android Native dependency
1 parent 4e321ee commit b92a77d

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

Package.resolved

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,16 @@ let package = Package(
1919
],
2020
dependencies: [
2121
// Dependencies declare other packages that this package depends on.
22-
// .package(url: /* package url */, from: "1.0.0"),
22+
.package(url: "https://github.com/skiptools/swift-android-native.git", from: "1.0.0")
2323
],
2424
targets: [
2525
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
2626
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
2727
.target(
2828
name: "LogKit",
29-
dependencies: []),
29+
dependencies: [
30+
.product(name: "AndroidLogging", package: "swift-android-native", condition: .when(platforms: [.android]))
31+
]),
3032
.testTarget(
3133
name: "LogKitTests",
3234
dependencies: ["LogKit"])

0 commit comments

Comments
 (0)