Skip to content

Commit 136bd14

Browse files
committed
fix dependencies
1 parent cd5011f commit 136bd14

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Samples/SwiftAndJavaJarSampleLib/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ let package = Package(
6363
.target(
6464
name: "MySwiftLibrary",
6565
dependencies: [
66-
.product(name: "SwiftJavaRuntimeSupport", package: "swift-java"),
66+
.product(name: "SwiftRuntimeFunctions", package: "swift-java"),
6767
],
6868
exclude: [
6969
"swift-java.config",

Samples/SwiftJavaExtractFFMSampleApp/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ let package = Package(
6565
dependencies: [
6666
.product(name: "SwiftJava", package: "swift-java"),
6767
.product(name: "CSwiftJavaJNI", package: "swift-java"),
68-
.product(name: "SwiftJavaRuntimeSupport", package: "swift-java"),
68+
.product(name: "SwiftRuntimeFunctions", package: "swift-java"),
6969
],
7070
exclude: [
7171
"swift-java.config",

SwiftKitCore/src/main/java/org/swift/swiftkit/core/SwiftLibraries.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
public final class SwiftLibraries {
2626

27-
// Library names of core Swift and SwiftKit
27+
// Library names of core Swift and SwiftRuntimeFunctions
2828
public static final String LIB_NAME_SWIFT_CORE = "swiftCore";
2929
public static final String LIB_NAME_SWIFT_CONCURRENCY = "swift_Concurrency";
3030
public static final String LIB_NAME_SWIFT_RUNTIME_FUNCTIONS = "SwiftRuntimeFunctions";
@@ -43,7 +43,7 @@ public final class SwiftLibraries {
4343
private static final boolean INITIALIZED_LIBS = loadLibraries(false);
4444

4545
public static boolean loadLibraries(boolean loadSwiftRuntimeFunctions) {
46-
System.loadLibrary(LIB_NAME_SWIFT_RUNTIME_FUNCTIONS);
46+
System.loadLibrary(LIB_NAME_SWIFT_CORE);
4747
if (loadSwiftRuntimeFunctions) {
4848
System.loadLibrary(LIB_NAME_SWIFT_RUNTIME_FUNCTIONS);
4949
}

0 commit comments

Comments
 (0)