Browse Source

fix runSwing launch from README

pull/2827/head
dima.avdeev 2 years ago
parent
commit
5b1ce09372
  1. 4
      compose/.run/runSwing.run.xml
  2. 2
      compose/README.md
  3. 6
      compose/build.gradle.kts

4
compose/.run/run4.run.xml → compose/.run/runSwing.run.xml

@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="run4 (desktop)" type="GradleRunConfiguration" factoryName="Gradle" folderName="desktop">
<configuration default="false" name="runSwing (desktop)" type="GradleRunConfiguration" factoryName="Gradle" folderName="desktop">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$/frameworks/support/compose/desktop/desktop/samples" />
@ -10,7 +10,7 @@
</option>
<option name="taskNames">
<list>
<option value="run4" />
<option value="runSwing" />
</list>
</option>
<option name="vmOptions" value="" />

2
compose/README.md

@ -69,7 +69,7 @@ Run jvm desktop sample:
```
another jvm desktop samples:
```bash
./scripts/runGradle run1 run2 run3 run4 runWindowApi runVsync runLayout
./scripts/runGradle run1 run2 run3 runSwing runWindowApi runVsync runLayout
```
Run wasm sample:

6
compose/build.gradle.kts

@ -155,12 +155,16 @@ tasks.register("run") {
dependsOnComposeTask(":compose:desktop:desktop:desktop-samples:run")
}
for (i in 1..4) {
for (i in 1..3) {
tasks.register("run$i") {
dependsOnComposeTask(":compose:desktop:desktop:desktop-samples:run$i")
}
}
tasks.register("runSwing") {
dependsOnComposeTask(":compose:desktop:desktop:desktop-samples:runSwing")
}
tasks.register("runWindowApi") {
dependsOnComposeTask(":compose:desktop:desktop:desktop-samples:runWindowApi")
}

Loading…
Cancel
Save