You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: swift-java-hashing-example/README.md
+23-1Lines changed: 23 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,8 +25,30 @@ Before you can build and run this project, you need to have the following instal
25
25
26
26
## Setup and Configuration
27
27
28
+
### Prepare Swift Android SDK and matching Swift
29
+
30
+
Currently these examples utilize very recent nightly Swift Android SDK versions. In order to install these, you can use Swiftly (the Swift toolchain installer):
31
+
32
+
You can follow [these instructions](https://github.com/swiftlang/swift-org-website/pull/985/files) to install an appropriate Swift Android SDK.
33
+
28
34
### Publish `swift-java` packages locally
29
-
As the `swift-java` project does not yet publish the neccessary Java packages needed at runtime, we need to do it ourself, by performing the following steps:
35
+
As the `swift-java` project does not yet publish the necessary Java packages needed at runtime, we need to do it ourself, by performing the following steps:
36
+
37
+
> Note: This step will not be necessary once swift-java publishes releases.
38
+
39
+
In order to publish all artifacts from this library, we recommend installing and using JDK 25, because some parts of swift-java are built for most recent Java versions.
40
+
A simple way to install and manage local Java installations is [sdkman](https://sdkman.io):
41
+
42
+
> Note: You will _not_ have to use most recent Java versions for your Android app, and the example currently targets Java language version 11.
43
+
44
+
```bash
45
+
curl -s "https://get.sdkman.io"| bash
46
+
sdk install java 25.0.1-amzn --use # only in order to publish swift-java artifacts locally
0 commit comments