File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -56,28 +56,28 @@ docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.2204.main.
5656docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.2204.main.yaml run test
5757```
5858
59- ### Examples
59+ ### Sample Apps
60+
61+ Sample apps are located in the ` Samples/ ` directory, and they showcase full "roundtrip" usage of the library and/or tools.
6062
6163#### JavaKit (Swift -> Java)
6264
6365To run a simple app showcasing a Swift process calling into a Java library you can run:
6466
6567``` bash
66- make run
68+ ./gradlew Samples:JavaKitSampleApp: run
6769```
6870
69- Which executes a small Java app (` com.example.swift.HelloSwift ` ).
70-
7171#### jextract (Java -> Swift)
7272
7373To run a simple example app showcasing the jextract (Java calling Swift) approach you can:
7474
7575``` bash
76- make jextract-run
77- ./gradlew run
76+ ./gradlew Samples:SwiftKitSampleApp:run
7877```
7978
80- which will run ` JavaSwiftKitDemo ` sample app.
79+ This will also generate the necessary sources (by invoking jextract, extracting the ` Sources/ExampleSwiftLibrary ` )
80+ and generating Java sources in ` src/generated/java ` .
8181
8282## User Guide
8383
You can’t perform that action at this time.
0 commit comments