@ -22,8 +22,8 @@ The recommended way of building Compose for Desktop projects is by using Gradle.
JetBrains provides a simple way of building Compose for Desktop projects
JetBrains provides a simple way of building Compose for Desktop projects
using a special Gradle plugin.
using a special Gradle plugin.
One could clone an existing template [desktop](https://github.com/JetBrains/compose-jb/tree/master/templates/desktop-template) or
One could clone an existing template for a [desktop](https://github.com/JetBrains/compose-jb/tree/master/templates/desktop-template) or
[multiplatform](https://github.com/JetBrains/compose-jb/tree/master/templates/multiplatform-template) application templates, or create it from scratch.
[multiplatform](https://github.com/JetBrains/compose-jb/tree/master/templates/multiplatform-template) application, or create it from scratch.
First create a new directory, named `sample`.
First create a new directory, named `sample`.
```shell script
```shell script
@ -64,15 +64,15 @@ compose.desktop {
}
}
}
}
```
```
Then create file `src/main/kotlin/main.kt` and put there:
Then create `src/main/kotlin/main.kt` and put the following code in there: