File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -167,6 +167,8 @@ Please always use the gradle wrapper (`./gradlew`) to make sure to use the appro
167167
168168Sample apps are located in the ` Samples/ ` directory, and they showcase full "roundtrip" usage of the library and/or tools.
169169
170+ Samples are build by default by Gradle. Building samples can be skipped by appending the flag ` -PskipSamples=true ` to a gradle command.
171+
170172#### SwiftJava (Swift -> Java)
171173
172174To run a simple app showcasing a Swift process calling into a Java library you can run:
Original file line number Diff line number Diff line change @@ -22,8 +22,11 @@ include "SwiftKitCore"
2222include " SwiftKitFFM"
2323
2424// Include sample apps -- you can run them via `gradle Name:run`
25- new File (rootDir, " Samples" ). listFiles(). each {
26- if (it. directory && new File (it, ' build.gradle' ). exists()) {
27- include " :Samples:${ it.name} "
25+ // Can be disabled with -PskipSamples=true
26+ if (! hasProperty(' skipSamples' ) || skipSamples != ' true' ) {
27+ new File (rootDir, " Samples" ). listFiles(). each {
28+ if (it. directory && new File (it, ' build.gradle' ). exists()) {
29+ include " :Samples:${ it.name} "
30+ }
2831 }
2932}
You can’t perform that action at this time.
0 commit comments