Skip to content

Commit dc9de6f

Browse files
committed
1 parent ec02002 commit dc9de6f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ let package = Package(
99
],
1010
targets: [
1111
.systemLibrary(name: "AndroidNDK"),
12+
.target(name: "AndroidLogging", dependencies: [.target(name: "AndroidNDK", condition: .when(platforms: [.android]))]),
13+
.testTarget(name: "AndroidLoggingTests", dependencies: ["AndroidLogging"]),
1214
.target(name: "AndroidNative", dependencies: ["AndroidLogging"]),
1315
.testTarget(name: "AndroidNativeTests", dependencies: ["AndroidNative"]),
14-
.target(name: "AndroidLogging", dependencies: [.target(name: "AndroidNDK", condition: .when(platforms: [.android]))]),
15-
.testTarget(name: "AndroidLoggingTests", dependencies: ["AndroidLogging"])
1616
]
1717
)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Add the package to your `Package.swift` file:
1616

1717
```swift
1818
dependencies: [
19-
.package(url: "https://github.com/skiptools/swift-android-logging.git", from: "1.0.0")
19+
.package(url: "https://github.com/skiptools/swift-android-native.git", from: "1.0.0")
2020
]
2121
```
2222

@@ -34,7 +34,7 @@ Add the `AndroidLogging` module as a conditional dependency for any targets that
3434

3535
```swift
3636
.target(name: "MyTarget", dependencies: [
37-
.product(name: "AndroidLogging", package: "swift-android-logging", condition: .when(platforms: [.android]))
37+
.product(name: "AndroidLogging", package: "swift-android-native", condition: .when(platforms: [.android]))
3838
])
3939
```
4040

0 commit comments

Comments
 (0)